summaryrefslogtreecommitdiffstats
path: root/Documentation/scheduler
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2022-05-22 17:38:11 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2022-06-10 22:10:23 +0200
commit164f4064ca81eefcea29f7f5dcf394f92be1d0c0 (patch)
tree5275b76d52a540bb1e9c91118e6c9510f71d3b2e /Documentation/scheduler
parentiocb: delay evaluation of IS_SYNC(...) until we want to check IOCB_DSYNC (diff)
downloadlinux-164f4064ca81eefcea29f7f5dcf394f92be1d0c0.tar.xz
linux-164f4064ca81eefcea29f7f5dcf394f92be1d0c0.zip
keep iocb_flags() result cached in struct file
* calculate at the time we set FMODE_OPENED (do_dentry_open() for normal opens, alloc_file() for pipe()/socket()/etc.) * update when handling F_SETFL * keep in a new field - file->f_iocb_flags; since that thing is needed only before the refcount reaches zero, we can put it into the same anon union where ->f_rcuhead and ->f_llist live - those are used only after refcount reaches zero. Reviewed-by: Christian Brauner (Microsoft) <brauner@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'Documentation/scheduler')
0 files changed, 0 insertions, 0 deletions