diff options
| author | Alexey Dobriyan <[email protected]> | 2018-08-22 04:54:09 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2018-08-22 17:52:45 +0000 |
| commit | 2d6e4e822ad8174b59414903ae6b35660032c20a (patch) | |
| tree | 0821f8e2a2a772c3938c52d95dc5587025b7e8b5 /fs/proc/generic.c | |
| parent | mm: fix comment for NODEMASK_ALLOC (diff) | |
| download | kernel-2d6e4e822ad8174b59414903ae6b35660032c20a.tar.gz kernel-2d6e4e822ad8174b59414903ae6b35660032c20a.zip | |
proc: fixup PDE allocation bloat
24074a35c5c975 ("proc: Make inline name size calculation automatic")
started to put PDE allocations into kmalloc-256 which is unnecessary as
~40 character names are very rare.
Put allocation back into kmalloc-192 cache for 64-bit non-debug builds.
Put BUILD_BUG_ON to know when PDE size has gotten out of control.
[[email protected]: fix BUILD_BUG_ON breakage on powerpc64]
Link: http://lkml.kernel.org/r/20180703191602.GA25521@avx2
Link: http://lkml.kernel.org/r/20180617215732.GA24688@avx2
Signed-off-by: Alexey Dobriyan <[email protected]>
Cc: David Howells <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Stephen Rothwell <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/proc/generic.c')
0 files changed, 0 insertions, 0 deletions
