Bug 194351 - drivers/staging/lustre/lustre/lov/lov_io.c lov_io_rw_iter_init inefficient path structure
Summary: drivers/staging/lustre/lustre/lov/lov_io.c lov_io_rw_iter_init inefficient pa...
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Staging (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_staging@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-07 06:07 UTC by Michael
Modified: 2017-02-07 06:07 UTC (History)
0 users

See Also:
Kernel Version: 4.10
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Michael 2017-02-07 06:07:42 UTC
In lov_io_rw_iter_init:
Thefastpath's value is mitigated by a slowpath that it has to traverse through at the end of the function, and the conditional branches in the slowpath have inconsistent return values (particularly the (unlikely) branch).

Note You need to log in before you can comment on or make changes to this bug.