diff options
| author | KAMEZAWA Hiroyuki <[email protected]> | 2009-09-22 16:45:52 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-09-23 07:39:42 -0700 |
| commit | 0d4c36a9b6ab6b15851f60956d901a3c53574ea8 (patch) | |
| tree | 08ca4041ee0a3748835b34227868427b7a82467f /tools/perf/scripts/python | |
| parent | 678ad5d8aaf8925cb8465f84e1e47d9b1284666a (diff) | |
/proc/kcore: update stat.st_size after memory hotplug
After memory hotplug (or other events in future), kcore size can be
modified.
To update inode->i_size, we have to know inode/dentry but we can't get it
from inside /proc directly. But considerinyg memory hotplug, kcore image
is updated only when it's opened. Then, updating inode->i_size at open()
is enough.
Signed-off-by: KAMEZAWA Hiroyuki <[email protected]>
Acked-by: WANG Cong <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions