diff options
author | 2012-05-21 08:46:08 -0700 | |
---|---|---|
committer | 2012-05-21 08:46:08 -0700 | |
commit | 7e5cb5e151c5474b4a468f437f5038ba9f67ef4d (patch) | |
tree | 899f42e88f926fb4501402cf4ee4aa0903421ef5 /tools/perf/scripts/python | |
parent | Merge branch 'stat-cleanups' (clean up copying of stat info to user space) (diff) | |
parent | VFS: make vfs_fstat() use f[get|put]_light() (diff) | |
download | linux-dev-7e5cb5e151c5474b4a468f437f5038ba9f67ef4d.tar.xz linux-dev-7e5cb5e151c5474b4a468f437f5038ba9f67ef4d.zip |
Merge branch 'vfs-cleanups' (random vfs cleanups)
This teaches vfs_fstat() to use the appropriate f[get|put]_light
functions, allowing it to avoid some unnecessary locking for the common
case.
More noticeably, it also cleans up and simplifies the "getname_flags()"
function, which now relies on the architecture strncpy_from_user() doing
all the user access checks properly, instead of hacking around the fact
that on x86 it didn't use to do it right (see commit 92ae03f2ef99: "x86:
merge 32/64-bit versions of 'strncpy_from_user()' and speed it up").
* vfs-cleanups:
VFS: make vfs_fstat() use f[get|put]_light()
VFS: clean up and simplify getname_flags()
x86: make word-at-a-time strncpy_from_user clear bytes at the end
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions