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-07-05 16:05:24 -07:00
2017-06-28 14:45:21 -04:00
2017-06-09 11:47:38 +02:00
2017-03-02 08:42:34 +01:00
2017-07-05 12:31:59 -07:00
2017-05-12 15:57:15 -07:00
2017-07-03 21:13:25 -07:00
2017-06-20 10:42:19 +02:00
2017-07-06 16:24:33 -07:00
2017-07-06 16:24:30 -07:00
2017-07-05 11:11:26 -07:00
2017-06-08 18:52:45 -07:00
2017-07-03 13:08:04 -07:00
2017-07-05 15:34:35 -07:00
2017-07-05 12:31:59 -07:00
2017-03-02 08:42:39 +01:00
2017-05-23 10:01:37 +02:00
2017-05-03 11:05:15 -07:00
2017-05-03 11:05:15 -07:00
2017-05-03 11:05:15 -07:00
2017-07-05 11:24:05 -07:00
2017-06-12 18:07:43 -04:00
2017-05-02 10:16:05 -04:00
2017-07-05 11:24:05 -07:00
2017-07-05 15:34:35 -07:00
2017-07-03 18:08:06 -07:00
2017-05-08 17:15:11 -07:00
2017-05-18 10:30:19 -06:00
2017-03-02 08:42:39 +01:00
2017-07-06 16:24:32 -07:00
2017-07-06 16:24:29 -07:00
2017-05-27 08:52:27 -07:00
2017-07-03 21:13:25 -07:00
2017-05-08 17:15:13 -07:00
2017-05-08 17:15:10 -07:00
2017-05-26 10:10:45 +02:00
2017-02-17 13:40:05 -05:00
2017-05-08 17:15:12 -07:00
2017-06-30 10:19:19 +02:00
2017-06-30 02:04:10 -04:00
2017-03-10 20:55:09 +01:00
2017-03-02 08:42:39 +01:00
2017-07-03 18:08:06 -07:00
2017-05-08 17:15:11 -07:00
2017-03-17 10:18:47 -04:00
2017-03-02 08:42:39 +01:00
2017-05-08 17:15:11 -07:00
2017-07-06 16:24:32 -07:00
2017-07-06 16:24:30 -07:00
2017-02-24 17:46:56 -08:00
2017-03-13 15:57:41 -03:00
2017-05-26 10:10:37 +02:00
2017-03-02 08:42:34 +01:00
2017-04-18 10:37:13 +02:00
2017-05-13 17:26:01 -05:00
2017-07-06 16:24:33 -07:00
2017-03-02 08:42:39 +01:00
2017-05-23 07:40:44 -05:00
2017-05-02 11:38:06 -07:00
2017-06-26 09:24:00 -07:00
2017-07-03 16:14:51 -07:00
2017-05-23 10:01:32 +02:00
2017-03-02 08:42:35 +01:00
2017-04-11 09:06:32 +02:00
2017-03-08 09:18:02 +01:00
2017-05-26 10:10:36 +02:00
2017-05-21 13:11:00 -04:00
2017-06-05 16:59:15 +02:00
2017-05-08 17:15:10 -07:00
2017-05-08 17:15:12 -07:00
2017-03-02 08:42:27 +01:00
2017-03-02 08:42:35 +01:00
2017-03-02 08:42:39 +01:00
2017-03-06 15:26:37 -06:00
2017-03-02 08:42:31 +01:00
2017-03-02 08:42:29 +01:00
2017-03-02 08:42:29 +01:00
2017-03-03 01:45:36 +01:00
2017-03-02 08:42:38 +01:00
2017-03-02 08:42:34 +01:00
2017-03-02 08:42:34 +01:00
2017-06-20 12:18:27 +02:00