freebsd-skq/sys/ofed/include/linux
Attilio Rao 71a19bdc64 Commit the support for removing cpumask_t and replacing it directly with
cpuset_t objects.
That is going to offer the underlying support for a simple bump of
MAXCPU and then support for number of cpus > 32 (as it is today).

Right now, cpumask_t is an int, 32 bits on all our supported architecture.
cpumask_t on the other side is implemented as an array of longs, and
easilly extendible by definition.

The architectures touched by this commit are the following:
- amd64
- i386
- pc98
- arm
- ia64
- XEN

while the others are still missing.
Userland is believed to be fully converted with the changes contained
here.

Some technical notes:
- This commit may be considered an ABI nop for all the architectures
  different from amd64 and ia64 (and sparc64 in the future)
- per-cpu members, which are now converted to cpuset_t, needs to be
  accessed avoiding migration, because the size of cpuset_t should be
  considered unknown
- size of cpuset_t objects is different from kernel and userland (this is
  primirally done in order to leave some more space in userland to cope
  with KBI extensions). If you need to access kernel cpuset_t from the
  userland please refer to example in this patch on how to do that
  correctly (kgdb may be a good source, for example).
- Support for other architectures is going to be added soon
- Only MAXCPU for amd64 is bumped now

The patch has been tested by sbruno and Nicholas Esborn on opteron
4 x 12 pack CPUs. More testing on big SMP is expected to came soon.
pluknet tested the patch with his 8-ways on both amd64 and i386.

Tested by:	pluknet, sbruno, gianni, Nicholas Esborn
Reviewed by:	jeff, jhb, sbruno
2011-05-05 14:39:14 +00:00
..
mlx4 - Implement wake-on-lan support in mlxen. 2011-03-26 00:54:01 +00:00
bitmap.h
bitops.h
cdev.h
compat.h
compiler.h
completion.h
ctype.h
delay.h
device.h
dma-attrs.h
dma-mapping.h
dmapool.h
err.h
errno.h
ethtool.h
file.h - Catch up to falloc() changes. 2011-04-26 07:30:52 +00:00
fs.h
gfp.h
hardirq.h
idr.h
if_arp.h
if_ether.h
if_vlan.h
in6.h
in.h
inet.h
inetdevice.h
init.h
interrupt.h
io-mapping.h
io.h
ioctl.h
jhash.h
jiffies.h
kdev_t.h
kernel.h
kobject.h
kref.h
kthread.h
linux_compat.c
linux_idr.c
linux_radix.c
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
moduleparam.h
mount.h
mutex.h
net.h
netdevice.h
notifier.h
page.h
pci.h Do a sweep of the tree replacing calls to pci_find_extcap() with calls to 2011-03-23 13:10:15 +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
timer.h
types.h
uaccess.h
vmalloc.h
wait.h
workqueue.h - Catch up to falloc() changes. 2011-04-26 07:30:52 +00:00