diff options
| author | Serge Hallyn <[email protected]> | 2006-10-02 02:18:18 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-10-02 07:57:22 -0700 |
| commit | c0b2fc316599d6cd875b6b8cafa67f03b9512b4d (patch) | |
| tree | 6e03101b6692dfe3284de05a5f4fd5495d513ab3 /include/linux | |
| parent | 071df104f808b8195c40643dcb4d060681742e29 (diff) | |
[PATCH] uts: copy nsproxy only when needed
The nsproxy was being copied in unshare() when anything was being unshared,
even if it was something not referenced from nsproxy. This should end up
in some cases with far more memory usage than necessary.
Signed-off-by: Serge Hallyn <[email protected]>
Cc: Kirill Korotaev <[email protected]>
Cc: "Eric W. Biederman" <[email protected]>
Cc: Herbert Poetzl <[email protected]>
Cc: Andrey Savochkin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions