Files
erofs-linux/include/linux
Greg Banks 3262c816a3 [PATCH] knfsd: split svc_serv into pools
Split out the list of idle threads and pending sockets from svc_serv into a
new svc_pool structure, and allocate a fixed number (in this patch, 1) of
pools per svc_serv.  The new structure contains a lock which takes over
several of the duties of svc_serv->sv_lock, which is now relegated to
protecting only sv_tempsocks, sv_permsocks, and sv_tmpcnt in svc_serv.

The point is to move the hottest fields out of svc_serv and into svc_pool,
allowing a following patch to arrange for a svc_pool per NUMA node or per CPU.
 This is a major step towards making the NFS server NUMA-friendly.

Signed-off-by: Greg Banks <[email protected]>
Signed-off-by: Neil Brown <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2006-10-02 07:57:19 -07:00
..
…
…
2006-09-26 17:40:24 -04:00
…
…
…
…
…
…
…
…
…
2006-10-01 00:39:29 -07:00
2006-10-01 00:39:29 -07:00
…
…
…
2006-09-28 17:53:58 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2006-09-26 08:48:54 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2006-10-02 07:57:12 -07:00
…
…
2006-09-26 17:40:24 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2006-09-26 15:38:52 -07:00
…
…
…
…
2006-09-28 18:02:18 -07:00
…
…
…
…
2006-09-28 18:02:13 -07:00
…
…
…
…
…
…
…
…
…
…
…
2006-09-28 18:02:02 -07:00
2006-09-28 18:02:31 -07:00
2006-09-28 18:02:29 -07:00
…
…
…
…
…
…
…
…
…
…
2006-09-28 17:54:01 -07:00
…
…
2006-09-28 18:02:30 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2006-09-26 08:48:47 -07:00
…
…
…
…
2006-10-01 00:39:18 -07:00
…
…
…
…
2006-09-28 18:02:22 -07:00
2006-09-29 09:18:12 -07:00
…
…
…
…
…
2006-10-01 00:39:19 -07:00
…
…
…
…
2006-09-28 18:02:58 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2006-09-26 08:48:48 -07:00
…
…
…
…
2006-10-01 00:39:17 -07:00
…
…
…
…
2006-10-02 07:57:15 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2006-10-02 07:57:15 -07:00
…
…
…
…
…
…
…
2006-09-26 08:49:04 -07:00
…
…
…
2006-09-26 08:48:44 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
2006-09-29 09:18:11 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2006-10-01 00:39:18 -07:00
2006-10-01 00:39:19 -07:00
2006-09-26 08:48:58 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2006-09-28 17:53:59 -07:00
2006-10-01 00:39:18 -07:00
2006-09-27 08:26:20 -07:00
…
2006-09-28 18:02:16 -07:00
…
…
…
…
…
…
2006-10-01 00:39:34 -07:00
…
…
2006-10-01 00:39:19 -07:00
…
…
…
…
2006-09-29 09:18:13 -07:00
…
…
…
…
…
…
…
…
…
…