H Hartley Sweeten
2930d0ba65
staging: comedi: dmm32at: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:03:55 -07:00
H Hartley Sweeten
f20dce3848
staging: comedi: das800: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:03:55 -07:00
H Hartley Sweeten
77d2f7c247
staging: comedi: das800: 'dev->subdevices + 0' is already known
...
There is no need to calculate the subdevice for the call to
das800_cancel. The variable 's' in this function is set to the
'dev->read_subdev' which is the same as 'dev->subdevices + 0'.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:03:55 -07:00
H Hartley Sweeten
92cfef5d90
staging: comedi: das6402: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:03:54 -07:00
H Hartley Sweeten
2e3d3cf5c7
staging: comedi: das1800: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:03:54 -07:00
H Hartley Sweeten
9b7beb6613
staging: comedi: das16m1: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:03:54 -07:00
H Hartley Sweeten
35d10629f1
staging: comedi: das16: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:03:54 -07:00
H Hartley Sweeten
2add117c2f
staging: comedi: das08: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:03:54 -07:00
H Hartley Sweeten
b815357776
staging: comedi: daqboard2000: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:03:54 -07:00
H Hartley Sweeten
b31654fe4b
staging: comedi: contec_pci_dio: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:03:54 -07:00
H Hartley Sweeten
713e5c35e1
staging: comedi: comedi_test: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:03:54 -07:00
H Hartley Sweeten
9da5ae29cd
staging: comedi: comedi_parport: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:03:54 -07:00
H Hartley Sweeten
379585ab5c
staging: comedi: comedi_bond: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:03:53 -07:00
H Hartley Sweeten
6807d64d21
staging: comedi: cb_pcimdda: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:03:53 -07:00
H Hartley Sweeten
13201d8811
staging: comedi: cb_pcimdas: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:03:53 -07:00
H Hartley Sweeten
fbe09e33f5
staging: comedi: cb_pcidio: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:03:53 -07:00
H Hartley Sweeten
82ec595aa0
staging: comedi: cb_pcidda: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:03:53 -07:00
H Hartley Sweeten
e4eb9523ef
staging: comedi: cb_pcidas64: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:03:53 -07:00
H Hartley Sweeten
e89c61b989
staging: comedi: cb_pcidas: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:03:53 -07:00
H Hartley Sweeten
3d69288a5f
staging: comedi: cb_das16_cs: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:03:53 -07:00
H Hartley Sweeten
0c2d3aacfe
staging: comedi: c6xdigio: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:03:53 -07:00
H Hartley Sweeten
5bf4a7a708
staging: comedi: amplc_pci230: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:03:53 -07:00
H Hartley Sweeten
e11c07fe38
staging: comedi: amplc_pci224: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:03:52 -07:00
H Hartley Sweeten
d8029dcf1b
staging: comedi: amplc_pc263: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:03:52 -07:00
H Hartley Sweeten
39d37be411
staging: comedi: amplc_pc236: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:01:37 -07:00
H Hartley Sweeten
6b680f90c3
staging: comedi: amplc_dio200: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Use a local variable for the subdevice pointer to keep the line
< 80 chars.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:01:37 -07:00
H Hartley Sweeten
40c4db8b6d
staging: comedi: aio_iiro_16: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:01:37 -07:00
H Hartley Sweeten
ef83beae68
staging: comedi: aio_aio12_8: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:01:37 -07:00
H Hartley Sweeten
9e006a70e9
staging: comedi: adv_pci_dio: remove 'subdev' param from pci_dio_add_*()
...
The subdevice index number is not used in the pci_dio_add_*()
functions. Just remove them.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:01:37 -07:00
H Hartley Sweeten
a2b7bcac20
staging: comedi: adv_pci_dio: clarify subdevice index in pci1760_attach()
...
The subdevice index numbers are fixed when attaching to a pci1710 card.
Remove the subdev variable and just open code the array index numbers.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:01:37 -07:00
H Hartley Sweeten
2b36ab6c6f
staging: comedi: adv_pci_dio: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:01:37 -07:00
H Hartley Sweeten
dd25ab4546
staging: comedi: adv_pci1723: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:01:37 -07:00
H Hartley Sweeten
5c60f867b1
staging: comedi: adv_pci1710: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:01:37 -07:00
H Hartley Sweeten
4fe92e1606
staging: comedi: adq12b: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:01:36 -07:00
H Hartley Sweeten
17c7ac9144
staging: comedi: adl_pci9118: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:01:36 -07:00
H Hartley Sweeten
573e31af7c
staging: comedi: adl_pci9111: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:01:36 -07:00
H Hartley Sweeten
d1d7b20def
staging: comedi: adl_pci9111: rename 'subdevice' variable to 's'
...
Rename the variable used for the comedi_subdevice pointer from
'subdevice' to 's'. This is more typical in other comedi drivers
and helps when searching with grep.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:01:36 -07:00
H Hartley Sweeten
b23faec807
staging: comedi: adl_pci8164: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:01:36 -07:00
H Hartley Sweeten
2bac8ab3c3
staging: comedi: adl_pci7x3x: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:01:36 -07:00
H Hartley Sweeten
630b713b27
staging: comedi: adl_pci7296: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:01:36 -07:00
H Hartley Sweeten
1f6115a487
staging: comedi: adl_pci6208: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:01:36 -07:00
H Hartley Sweeten
b272f8cb32
staging: comedi: hwdrv_apci3200: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:01:36 -07:00
H Hartley Sweeten
ca0fceee36
staging: comedi: hwdrv_apci3120: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:01:35 -07:00
H Hartley Sweeten
4943374602
staging: comedi: hwdrv_APCI1710: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:01:35 -07:00
H Hartley Sweeten
3237c96413
staging: comedi: addi_common: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:01:35 -07:00
H Hartley Sweeten
6e269d7cac
staging: comedi: acl7225b: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:01:35 -07:00
H Hartley Sweeten
5101b4d187
staging: comedi: 8255: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:01:35 -07:00
H Hartley Sweeten
5e4c58ce65
staging: comedi: drivers: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:01:35 -07:00
H Hartley Sweeten
b077f2cd9b
staging: comedi: comedi_fops: remove subdevice pointer math
...
Convert the comedi_subdevice access from pointer math to array
access.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 20:01:35 -07:00
Dan Magenheimer
14c9fda5c4
staging: ramster: place ramster codebase on top of new zcache2 codebase
...
[V2: rebased to apply to 20120905 staging-next, no other changes]
This slightly modified ramster codebase is now built entirely on zcache2
and all ramster-specific code is fully contained in a subdirectory.
Ramster extends zcache2 to allow pages compressed via zcache2 to be
"load-balanced" across machines in a cluster. Control and data communication
is done via kernel sockets, and cluster configuration and management is
heavily leveraged from the ocfs2 cluster filesystem.
There are no new features since the codebase introduced into staging at 3.4.
Some cleanup was performed though:
1) Interfaces directly with new zbud
2) Debugfs now used instead of sysfs where possible. Sysfs still
used where necessary for userland cluster configuration.
Ramster is very much a work-in-progress but also does really work!
RAMSTER HIGH LEVEL OVERVIEW (from original V5 posting in Feb 2012)
RAMster implements peer-to-peer transcendent memory, allowing a "cluster" of
kernels to dynamically pool their RAM so that a RAM-hungry workload on one
machine can temporarily and transparently utilize RAM on another machine which
is presumably idle or running a non-RAM-hungry workload. Other than the
already-merged cleancache patchset and frontswap patchset, no core kernel
changes are currently required.
(Note that, unlike previous public descriptions of RAMster, this implementation
does NOT require synchronous "gets" or core networking changes. As of V5,
it also co-exists with ocfs2.)
RAMster combines a clustering and messaging foundation based on the ocfs2
cluster layer with the in-kernel compression implementation of zcache2, and
adds code to glue them together. When a page is "put" to RAMster, it is
compressed and stored locally. Periodically, a thread will "remotify" these
pages by sending them via messages to a remote machine. When the page is
later needed as indicated by a page fault, a "get" is issued. If the data
is local, it is uncompressed and the fault is resolved. If the data is
remote, a message is sent to fetch the data and the faulting thread sleeps;
when the data arrives, the thread awakens, the data is decompressed and
the fault is resolved.
As of V5, clusters up to eight nodes are supported; each node can remotify
pages to one specified node, so clusters can be configured as clients to
a "memory server". Some simple policy is in place that will need to be
refined over time. Larger clusters and fault-resistant protocols can also
be added over time.
A HOW-TO is available at:
http://oss.oracle.com/projects/tmem/dist/files/RAMster/HOWTO-120817
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com >
Signed-off-by: Dan Magenheimer <dan.magenheimer@oracle.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-09-05 17:07:39 -07:00