freebsd-nq/sys/ofed/include/linux
Konstantin Belousov 449c2e92c9 Split the pagequeues per NUMA domains, and split pageademon process
into threads each processing queue in a single domain.  The structure
of the pagedaemons and queues is kept intact, most of the changes come
from the need for code to find an owning page queue for given page,
calculated from the segment containing the page.

The tie between NUMA domain and pagedaemon thread/pagequeue split is
rather arbitrary, the multithreaded daemon could be allowed for the
single-domain machines, or one domain might be split into several page
domains, to further increase concurrency.

Right now, each pagedaemon thread tries to reach the global target,
precalculated at the start of the pass.  This is not optimal, since it
could cause excessive page deactivation and freeing.  The code should
be changed to re-check the global page deficit state in the loop after
some number of iterations.

The pagedaemons reach the quorum before starting the OOM, since one
thread inability to meet the target is normal for split queues.  Only
when all pagedaemons fail to produce enough reusable pages, OOM is
started by single selected thread.

Launder is modified to take into account the segments layout with
regard to the region for which cleaning is performed.

Based on the preliminary patch by jeff, sponsored by EMC / Isilon
Storage Division.

Reviewed by:	alc
Tested by:	pho
Sponsored by:	The FreeBSD Foundation
2013-08-07 16:36:38 +00:00
..
mlx4 - Implement wake-on-lan support in mlxen. 2011-03-26 00:54:01 +00:00
bitmap.h
bitops.h
cdev.h Use %s when calling make_dev with a string pointer. This makes 2012-11-09 21:41:07 +00:00
compat.h
compiler.h
completion.h
ctype.h
delay.h
device.h
dma-attrs.h
dma-mapping.h Replace kernel virtual address space allocation with vmem. This provides 2013-08-07 06:21:20 +00:00
dmapool.h
err.h
errno.h
ethtool.h
file.h Merge Capsicum overhaul: 2013-03-02 00:53:12 +00:00
fs.h Store a reference to the vnode associated with a file descriptor in the 2013-06-11 15:37:07 +00:00
gfp.h Replace kernel virtual address space allocation with vmem. This provides 2013-08-07 06:21:20 +00:00
hardirq.h
idr.h
if_arp.h
if_ether.h
if_vlan.h
in6.h Add OFED and the associated options and drivers to x86 LINT builds: 2012-04-12 14:01:06 +00:00
in.h Add OFED and the associated options and drivers to x86 LINT builds: 2012-04-12 14:01:06 +00:00
inet.h
inetdevice.h
init.h
interrupt.h
io-mapping.h
io.h Use VM_MEMATTR_UNCACHEABLE instead of VM_MEMATTR_UNCACHED for UC mappings. 2012-03-27 14:24:29 +00:00
ioctl.h
jhash.h
jiffies.h
kdev_t.h
kernel.h
kobject.h
kref.h
kthread.h
linux_compat.c Replace kernel virtual address space allocation with vmem. This provides 2013-08-07 06:21:20 +00:00
linux_idr.c Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs. 2011-11-07 06:44:47 +00:00
linux_radix.c Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs. 2011-11-07 06:44:47 +00:00
list.h Commit the support for removing cpumask_t and replacing it directly with 2011-05-05 14:39:14 +00:00
lockdep.h
log2.h
miscdevice.h
mm.h
module.h rename scheduler->swapper and SI_SUB_RUN_SCHEDULER->SI_SUB_LAST 2013-07-24 09:45:31 +00:00
moduleparam.h
mount.h
mutex.h
net.h - Updated TOE support in the kernel. 2012-06-19 07:34:13 +00:00
netdevice.h
notifier.h
page.h Split the pagequeues per NUMA domains, and split pageademon process 2013-08-07 16:36:38 +00:00
pci.h Redo r242842, now actually fixing the warnings, as follows: 2012-11-12 22:01:29 +00:00
poll.h
radix-tree.h
random.h
rbtree.h
rtnetlink.h
rwlock.h
rwsem.h
scatterlist.h
sched.h
semaphore.h
slab.h
socket.h
spinlock.h
stddef.h
string.h
sysfs.h Rework the previous fix for the IB vs Ethernet sysctl handler to be more 2013-07-18 14:06:01 +00:00
timer.h Add protective parentheses for macro argument, missed in r247671. 2013-03-02 22:41:06 +00:00
types.h Do not define bool/true/false if the symbols already exist. 2011-12-12 18:43:24 +00:00
uaccess.h
vmalloc.h
wait.h
workqueue.h According to the documentation, on Linux, cancel_delayed_work() does not 2013-05-08 17:45:22 +00:00