Pavel Tatashin
3d375d7859
mm: update callers to use HASH_ZERO flag
Update dcache, inode, pid, mountpoint, and mount hash tables to use
HASH_ZERO, and remove initialization after allocations. In case of
places where HASH_EARLY was used such as in __pv_init_lock_hash the
zeroed hash table was already assumed, because memblock zeroes the
memory.
CPU: SPARC M6, Memory: 7T
Before fix:
Dentry cache hash table entries: 1073741824
Inode-cache hash table entries: 536870912
Mount-cache hash table entries: 16777216
Mountpoint-cache hash table entries: 16777216
ftrace: allocating 20414 entries in 40 pages
Total time: 11.798s
After fix:
Dentry cache hash table entries: 1073741824
Inode-cache hash table entries: 536870912
Mount-cache hash table entries: 16777216
Mountpoint-cache hash table entries: 16777216
ftrace: allocating 20414 entries in 40 pages
Total time: 3.198s
CPU: Intel Xeon E5-2630, Memory: 2.2T:
Before fix:
Dentry cache hash table entries: 536870912
Inode-cache hash table entries: 268435456
Mount-cache hash table entries: 8388608
Mountpoint-cache hash table entries: 8388608
CPU: Physical Processor ID: 0
Total time: 3.245s
After fix:
Dentry cache hash table entries: 536870912
Inode-cache hash table entries: 268435456
Mount-cache hash table entries: 8388608
Mountpoint-cache hash table entries: 8388608
CPU: Physical Processor ID: 0
Total time: 3.244s
Link: http://lkml.kernel.org/r/1488432825-92126-4-git-send-email-pasha.tatashin@oracle.com
Signed-off-by: Pavel Tatashin <pasha.tatashin@oracle.com>
Reviewed-by: Babu Moger <babu.moger@oracle.com>
Cc: David Miller <davem@davemloft.net>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-07-06 16:24:33 -07:00
..
2017-04-18 13:11:07 -07:00
2016-12-24 11:46:01 -08:00
2013-11-06 07:55:08 +01:00
2017-06-08 18:52:41 -07:00
2017-03-02 08:42:32 +01:00
2017-01-14 11:37:14 +01:00
2016-11-16 10:15:10 +01:00
2016-10-25 11:31:50 +02:00
2017-01-30 11:42:59 +01:00
2017-05-16 08:43:25 -03:00
2017-01-30 11:42:59 +01:00
2016-11-22 12:48:10 +01:00
2017-01-14 11:14:35 +01:00
2016-11-16 10:15:10 +01:00
2017-07-06 16:24:33 -07:00
2017-03-02 08:42:27 +01:00
2016-06-27 11:37:41 +02:00
2017-04-04 11:44:06 +02:00
2017-06-08 10:35:49 +02:00
2017-06-08 10:35:49 +02:00
2017-06-20 11:53:09 +02:00
2017-06-08 10:35:49 +02:00
2017-03-16 09:28:30 +01:00
2017-03-02 08:42:34 +01:00
2017-03-16 09:57:07 +01:00
2016-06-08 15:16:59 +02:00
2017-03-02 08:42:34 +01:00
2017-02-10 09:09:49 +01:00
2017-01-12 09:33:39 +01:00
2017-03-30 09:49:47 +02:00