7;ve seen will power down if you hold the
power button down for 2-3 seconds. Try that instead of pulling the plug and
battery.
It may be true for other machines also.
--
Dan Streetman
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the bod
o release the actual driver but it didn't
work.
--
Dan Streetman
[EMAIL PROTECTED]
186,282 miles per second:
It isn't just a good idea, it's the law!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the
I think this
may be possible).
The filtering needs to be done fairly early (I think), or the keyboard state may
get corrupted by seemingly random 'normal' scancodes coming in (for non-raw
modes)...
Vojtech, could you comment on if the above is possible using the i
en it) and then register a new
>PS/2 port which the normal keyboard driver would attach to.
Sweet! Thanks.
I assume this (along with the linux-console stuff) won't make it into the 2.4
kernel for a while though, until after it's been in 2.5 for a while?
Thanks aga
us benefits like peer review, increased user and
developer base, etc. were ignored; they thought the user and/or developer base
(any retail company or ISV) was too specific and/or small.
--
Dan Streetman
[EMAIL PROTECTED]
--
186,282 miles per second:
I
ad
asked for approval from the company-wide decision makers, they would have given
it. From the limited experience I've had with them, they are very pro-OSS.
--
Dan Streetman
[EMAIL PROTECTED]
--
186,282 miles per second:
It isn't just a good
d-off-by: Markus Elfring
Acked-by: Dan Streetman
> ---
> mm/zpool.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/mm/zpool.c b/mm/zpool.c
> index fd3ff719c32c..fe1943f7d844 100644
> --- a/mm/zpool.c
> +++ b/mm/zpool.c
> @@ -172,7 +172,6 @@ struct zpool *zpoo
On Mon, Aug 14, 2017 at 7:16 AM, SF Markus Elfring
wrote:
> From: Markus Elfring
> Date: Mon, 14 Aug 2017 13:04:33 +0200
>
> Add a jump target so that a bit of exception handling can be better reused
> in this function.
>
> Signed-off-by: Markus Elfring
Acked-by: Dan St
On Wed, Oct 14, 2015 at 10:27 AM, Herbert Xu
wrote:
> On Thu, Oct 08, 2015 at 01:45:51PM -0700, Haren Myneni wrote:
>>
>> This patch adds CRC generation and validation support for nx-842.
>> Add CRC flag so that nx842 coprocessor includes CRC during compression
>> and validates during decompressio
From: Dan Streetman
The driver currently waits 1us after issuing a RST, but the spec
requires it to wait 1ms.
Signed-off-by: Dan Streetman
Signed-off-by: Dan Streetman
---
drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a
From: Dan Streetman
Spec section 8.2.4.1.1 notes that after setting the PCIe Master Disable
bit, it must be read to verify it was set before polling the Master Enable
status bit.
This adds the check to verify the Master Disable bit was set.
This also corrects the spec section number reference
On Mon, Jun 25, 2018 at 4:08 AM Li Wang wrote:
>
> On 30 May 2018 at 20:53, Dan Streetman wrote:
> > On Wed, May 30, 2018 at 6:39 AM, Li Wang wrote:
> >> The '/sys/../zswap/stored_pages:' keep raising in zswap test with
> >> "zswap.max_pool_perce
On Tue, Jan 9, 2018 at 5:47 PM, Yu Zhao wrote:
> On Tue, Jan 09, 2018 at 01:25:18PM -0500, Dan Streetman wrote:
>> On Mon, Jan 8, 2018 at 5:51 PM, Yu Zhao wrote:
>> > We waste sizeof(swp_entry_t) for zswap header when using zsmalloc
>> > as zpool driver because zsmall
> + zpool->evictable = driver->shrink && ops && ops->evict;
Since the ops->evict comes from zswap (and is never omitted), if we do
restore zs_zpool_shrink() in the future to call the zsmalloc shrinker
(and not do eviction), we'll have to add a driv
i?id=97811
Signed-off-by: Dan Streetman
---
include/net/net_namespace.h | 10 ++
net/ipv4/tcp.c | 3 +++
net/ipv4/tcp_timer.c| 15 +++
3 files changed, 28 insertions(+)
diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h
index f8
On Tue, Jan 2, 2018 at 5:03 AM, Joey Pabalinas wrote:
> The characters pointed to by `zswap_compressor`, `type`, and `compressor`
> aren't ever modified. Add const to the static variable and both parameters in
> `zswap_pool_find_get()`, `zswap_pool_create()`, and `__zswap_param_set()`
>
> Signed-o
On Tue, Jan 2, 2018 at 5:03 AM, Joey Pabalinas wrote:
> `zwap_has_pool` is a simple boolean, so it should be tested first
> to avoid unnecessarily calling `strcmp()`. Test `zswap_has_pool`
> first to take advantage of the short-circuiting behavior of && in
> `__zswap_param_set()`.
>
> Signed-off-b
include the header info that
zswap_writeback_entry (i.e. ops->evict) later needs, so yeah it does
make more sense to call it zpool_evictable() and zpool->evictable.
However, I think the function should still be zpool_shrink() and
zpool->driver->shrink(), because it should be possible for
On Thu, Apr 12, 2018 at 8:15 AM, Dmitry Vyukov wrote:
> On Wed, Feb 21, 2018 at 3:53 PM, Tommi Rantala
> wrote:
>> On 20.02.2018 18:26, Neil Horman wrote:
>>>
>>> On Tue, Feb 20, 2018 at 09:14:41AM +0100, Dmitry Vyukov wrote:
On Tue, Feb 20, 2018 at 8:56 AM, Tommi Rantala
wrote:
>
On Thu, Sep 27, 2018 at 4:27 PM Alex Xu (Hello71) wrote:
>
> Spinlocks are always lockable on UP systems, even if they were just
> locked.
i think it would be much better to just use either
assert_spin_locked() or just spin_is_locked(), instead of an #ifdef.
>
> Cc: Dan Streetma
On Thu, Sep 27, 2018 at 5:15 PM Alex Xu (Hello71) wrote:
>
> Spinlocks are always lockable on UP systems, even if they were just
> locked.
>
> Cc: Dan Streetman
I cc'ed Vitaly also, as this code is from him, but the change
certainly looks correct to me.
Acked-by: Dan Stre
On Fri, May 11, 2018 at 5:19 AM, Dmitry Vyukov wrote:
> On Thu, May 10, 2018 at 12:23 PM, Dan Streetman wrote:
>>>>>>>> wrote:
>>>>>>>>> On 20.02.2018 18:26, Neil Horman wrote:
>>>>>>>>>>
>>>>>
On Tue, May 29, 2018 at 10:57 PM, Li Wang wrote:
> Hi Dan,
>
> On Wed, May 30, 2018 at 5:14 AM, Dan Streetman wrote:
>>
>> On Thu, May 24, 2018 at 5:57 AM, Li Wang wrote:
>> > The '/sys/../zswap/stored_pages:' keep raising in zswap test with
>&g
w under the max_pool_percent, and
> not to compress/store if reach its limitaion.
>
> Signed-off-by: Li Wang
Acked-by: Dan Streetman
> Cc: Seth Jennings
> Cc: Dan Streetman
> Cc: Huang Ying
> Cc: Yu Zhao
> ---
> mm/zswap.c | 9 +
> 1 file changed, 9 in
bug/zsmalloc/zram0
>>
>> This patch adds a argument *name* to zs_create_pool() and other
>> related functions.
>>
>> Signed-off-by: Ganesh Mahendran
> Acked-by: Minchan Kim
Acked-by: Dan Streetman
>
> --
> Kind regards,
> Minchan Kim
--
To u
https://sourceware.org/bugzilla/show_bug.cgi?id=17679
But this patch is still needed to prevent build failures with the current
glibc htole* macro definitions.
Signed-off-by: Dan Streetman
---
Documentation/mic/mpssd/mpssd.c | 54 -
1 file changed, 37 inser
of
leaving the htole16() et. al. functions in mpssd.c? Shouldn't they be
removed?
>
> Reported-by: Daniel Borkmann
> Reported-by: Dan Streetman
> Suggested-by: Peter Foley
> Signed-off-by: Ashutosh Dixit
> ---
> Documentation/mic/mpssd/Makefile | 2 +-
> 1 file chan
On Fri, Dec 5, 2014 at 1:18 PM, Ashutosh Dixit wrote:
> On Thu, Dec 04 2014 at 07:27:06 PM, Dan Streetman wrote:
>> On Thu, Dec 4, 2014 at 4:27 PM, Ashutosh Dixit
>> wrote:
>>> mic/mpssd along with MIC drivers are currently only usable on
>>> x86_64. So build m
Export the of_get_ibm_chip_id() function. This will be used by the
PowerNV NX-842 driver.
Signed-off-by: Dan Streetman
---
arch/powerpc/kernel/prom.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c
index b8e15c6..f9fb9a2 100644
--- a
on cycles using variable alignment
and length buffers, multiple threads, and can calculate the throughput.
Dan Streetman (11):
powerpc: export of_get_ibm_chip_id function
powerpc: Add ICSWX instruction
crypto: add software 842 decompression
drivers/crypto/nx: move nx-842.c to nx-842-pseries.c
Add NX-842 frontend that allows using either the pSeries platform
or PowerNV platform driver for the NX-842 hardware. Update the
MAINTAINERS file to include the new filenames.
Signed-off-by: Dan Streetman
---
MAINTAINERS| 2 +-
crypto/842.c | 2
ed because the 842 hardware requires buffers to meet specific
constraints that vary based on platform - for example, the pSeries
max length is much lower than the PowerNV max length.
These constraints are used by a later patch that improves the crypto 842
driver.
Signed-off-by: Dan Streetman
--
Add driver for NX-842 hardware on the PowerNV platform.
This allows the use of the 842 compression hardware coprocessor on
the PowerNV platform.
Signed-off-by: Dan Streetman
---
drivers/crypto/nx/Kconfig | 10 +
drivers/crypto/nx/Makefile | 2 +
drivers/crypto/nx/nx-842
function is required by later
patches that update the crypto 842 driver to fall back to software 842
decompression if the NX-842 hardware fails and/or returns an error.
Signed-off-by: Dan Streetman
---
MAINTAINERS | 2 +
include/linux/sw842.h| 7 +
lib/842/842_decompress.c | 413
compressor during compression or decompression will end the test and
be logged.
Signed-off-by: Dan Streetman
---
crypto/Kconfig | 9 +
crypto/Makefile| 1 +
crypto/comp_selftest.c | 928 +
3 files changed, 938 insertions
/decompression. The
user of the crypto 842 driver can fallback to another format if desired.
Signed-off-by: Dan Streetman
---
crypto/842.c | 139 -
crypto/Kconfig | 4 +-
2 files changed, 29 insertions(+), 114 deletions(-)
diff --git a/crypto
-off-by: Dan Streetman
---
drivers/crypto/nx/nx-842-pseries.c | 779 -
1 file changed, 153 insertions(+), 626 deletions(-)
diff --git a/drivers/crypto/nx/nx-842-pseries.c
b/drivers/crypto/nx/nx-842-pseries.c
index 3773e36..0b7bad3 100644
--- a/drivers/crypto/nx
n hardware with any
alignment or length buffers; previously with only the pSeries NX-842 driver
all (uncompressed) buffers needed to be page-sized and page-aligned.
Signed-off-by: Dan Streetman
---
MAINTAINERS | 1 +
crypto/842.c | 414 --
-off-by: Dan Streetman
---
drivers/crypto/nx/Makefile |2 +-
drivers/crypto/nx/nx-842-pseries.c | 1603
drivers/crypto/nx/nx-842.c | 1603
3 files changed, 1604 insertions(+), 1604 deletions(-)
create
for communication with the NX-842 coprocessor on
a PowerNV system.
Signed-off-by: Dan Streetman
---
arch/powerpc/include/asm/icswx.h | 184 ++
arch/powerpc/include/asm/ppc-opcode.h | 13 +++
2 files changed, 197 insertions(+)
create mode 100644 arch/powerpc
On Wed, Apr 8, 2015 at 10:16 AM, Herbert Xu wrote:
> On Tue, Apr 07, 2015 at 01:34:28PM -0400, Dan Streetman wrote:
>> Update the crypto 842 driver to no longer fallback to LZO if the 842
>> hardware is unavailable. Simplify the crpypto 842 driver to remove all
>> heade
On Wed, Apr 8, 2015 at 10:38 AM, Herbert Xu wrote:
> On Wed, Apr 08, 2015 at 10:28:23AM -0400, Dan Streetman wrote:
>>
>> So, the sw implementation is only for decompression; there's no sw
>> compression implementation in these patches.
>
> As a genera
On Wed, Apr 8, 2015 at 10:16 AM, Herbert Xu wrote:
> On Tue, Apr 07, 2015 at 01:34:30PM -0400, Dan Streetman wrote:
>> Add configurable module to perform self-tests on any crypto compression
>> driver.
>>
>> This allows testing any crypto compression driver with any
Add a devicetree description for property nodes for the NX Coprocessor
in an IBM PowerPC processor.
Signed-off-by: Dan Streetman
---
Is this the right location/naming for this file?
And did I get the content format right?
Should this file be called "ibm-nx-opal.txt" instead
zswap) that expect an available crypto compression driver to
actually work, this is bad. This patch fixes that, so the 842-nx crypto
compression driver won't load if it doesn't have the driver and hardware
available to perform the compression.
Signed-off-by: Dan Streetman
---
drivers/cry
y previous frontswap implementation that they
replace when registering.
This allows frontswap to successfully manage multiple implementations
by keeping a list of them all.
Signed-off-by: Dan Streetman
---
drivers/xen/tmem.c| 8 +--
include/linux/frontswap.h | 4 +-
mm/frontswap.c
ed
by rcu.
This simply iterates forward through the entire list, to get to the last
entry. If the list is empty, it returns NULL.
Signed-off-by: Dan Streetman
---
include/linux/rculist.h | 21 +
1 file changed, 21 insertions(+)
diff --git a/include/linux/rculist.h b/include
non-rcu variant of list_last_or_null_rcu
Signed-off-by: Dan Streetman
---
include/linux/list.h | 11 +++
1 file changed, 11 insertions(+)
diff --git a/include/linux/list.h b/include/linux/list.h
index feb773c..38577f89 100644
--- a/include/linux/list.h
+++ b/include/linux/list.h
On Thu, May 28, 2015 at 4:39 PM, wrote:
> On Thu, May 28, 2015 at 04:35:27PM -0400, Dan Streetman wrote:
>> Add list_last_or_null_rcu(), to simplify getting the last entry from a
>> rcu-protected list. The standard list_last_entry() can't be used as it
>> is not rcu-
On Thu, May 28, 2015 at 4:42 PM, Dan Streetman wrote:
> On Thu, May 28, 2015 at 4:39 PM, wrote:
>> On Thu, May 28, 2015 at 04:35:27PM -0400, Dan Streetman wrote:
>>> Add list_last_or_null_rcu(), to simplify getting the last entry from a
>>> rcu-protected list. T
On Thu, May 28, 2015 at 5:05 PM, Steven Rostedt wrote:
> On Thu, 28 May 2015 16:35:27 -0400
> Dan Streetman wrote:
>
>> Add list_last_or_null_rcu(), to simplify getting the last entry from a
>> rcu-protected list. The standard list_last_entry() can't be used as it
&g
On Thu, May 28, 2015 at 5:05 PM, Paul E. McKenney
wrote:
> On Thu, May 28, 2015 at 04:42:20PM -0400, Dan Streetman wrote:
>> On Thu, May 28, 2015 at 4:39 PM, wrote:
>> > On Thu, May 28, 2015 at 04:35:27PM -0400, Dan Streetman wrote:
>> >> Add list_last_or_null_
On Thu, May 28, 2015 at 5:17 PM, Paul E. McKenney
wrote:
> On Thu, May 28, 2015 at 05:14:25PM -0400, Dan Streetman wrote:
>> On Thu, May 28, 2015 at 5:05 PM, Paul E. McKenney
>> wrote:
>> > On Thu, May 28, 2015 at 04:42:20PM -0400, Dan Streetman wrote:
>> >
On Thu, May 28, 2015 at 5:16 PM, Paul E. McKenney
wrote:
> On Thu, May 28, 2015 at 05:12:00PM -0400, Dan Streetman wrote:
>> On Thu, May 28, 2015 at 5:05 PM, Steven Rostedt wrote:
>> > On Thu, 28 May 2015 16:35:27 -0400
>> > Dan Streetman wrote:
>> >
&
On Thu, May 28, 2015 at 5:28 PM, Steven Rostedt wrote:
> On Thu, 28 May 2015 17:19:40 -0400
> Dan Streetman wrote:
>
>> >> oh, ok. how do we do type-generic inline funcs? return void*?
>> >
>> > I was hoping that you would tell me. I use macros in th
On Thu, May 28, 2015 at 5:30 PM, Dan Streetman wrote:
> On Thu, May 28, 2015 at 5:28 PM, Steven Rostedt wrote:
>> On Thu, 28 May 2015 17:19:40 -0400
>> Dan Streetman wrote:
>>
>>> >> oh, ok. how do we do type-generic inline funcs? return void*?
>>>
On Thu, May 28, 2015 at 6:29 PM, Paul E. McKenney
wrote:
> On Thu, May 28, 2015 at 05:24:14PM -0400, Dan Streetman wrote:
>> On Thu, May 28, 2015 at 5:16 PM, Paul E. McKenney
>> wrote:
>> > On Thu, May 28, 2015 at 05:12:00PM -0400, Dan Streetman wrote:
>> >
On Thu, Jun 11, 2015 at 9:43 PM, Rusty Russell wrote:
> Dan Streetman writes:
>> Change the struct kernel_param.perm field to a const, as it should never
>> be changed. Add inline functions that return a const value, which are
>> compiled out, for kparam_[un]block_sysfs_r/w
ectly get the required working
memory size from the NX 842 hw driver.
This cleans up include/linux/ by 1 file, and it saves some memory
by reducing the 842-nx working memory size down to exactly what the
NX 842 platform driver requires.
Dan Streetman (2):
crypto: move include/linux/nx842.h into dr
42-nx" crypto compression driver, since the direct nx-842 api is
very limited in the buffer alignments and sizes that it will accept,
and the crypto compression interface handles those limitations and
allows any alignment and size buffers.
Signed-off-by: Dan Streetman
---
M
to the specific sizeof() amount, as well as using the specific loaded
platform driver's required amount, instead of the maximum of both.
Signed-off-by: Dan Streetman
---
drivers/crypto/nx/nx-842-crypto.c | 2 +-
drivers/crypto/nx/nx-842-powernv.c | 11 +++
drivers/crypto/nx/n
ck, or
if the module is built-in, it locks the built-in mutex.
Suggested-by: Rusty Russell
Signed-off-by: Dan Streetman
---
You suggested giving direct access to the mutex, but this patch just
provides lock/unlock functions to the appropriate mutex, which seemed
cleaner and clearer to me, but if y
On Wed, Jun 10, 2015 at 4:54 PM, Dan Streetman wrote:
> On Thu, Jun 4, 2015 at 8:13 AM, Dan Streetman wrote:
>> On Thu, Jun 4, 2015 at 8:02 AM, Dan Streetman wrote:
>>> Add dynamic creation of pools. Move the static crypto compression
>>> per-cpu transforms into e
On Tue, Jun 23, 2015 at 9:37 PM, Stephen Rothwell wrote:
> Hi Rusty,
>
> After merging the modules tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
that's weird. Are you sure it failed during allmodconfig? I can see
why it would fail like that if CONFIG_MODULES ins't def
-in param_lock.
Since "struct module" isn't defined if !CONFIG_MODULES, we must leave
out the code that returns mod->param_lock if there are no modules.
Signed-off-by: Dan Streetman
---
kernel/params.c | 18 --
1 file changed, 12 insertions(+), 6 deletions(-)
On Thu, Jun 4, 2015 at 8:42 PM, Rusty Russell wrote:
> Dan Streetman writes:
>> I sent this as part of a patch series a few days ago, which I was asked to
>> break up, so I'm sending only this patch as a RFC now, until I work out
>> the details of the zswap patch tha
runtime creation of zswap zpools.
Signed-off-by: Dan Streetman
---
include/linux/zpool.h | 2 ++
mm/zpool.c| 25 +
2 files changed, 27 insertions(+)
diff --git a/include/linux/zpool.h b/include/linux/zpool.h
index 56529b3..31b79e2 100644
--- a/include/linux
since each module
will take its own mutex and never conflict with another module's param
changes.
Dan Streetman (5):
zpool: add zpool_has_pool()
module: add per-module params lock
zswap: runtime enable/disable
zswap: dynamic pool creation
zswap: change zpool/compressor at runtime
They are thus replaced with simplified functions
that clearly indicate that all params for a module are being blocked, both
for read and write access.
Signed-off-by: Dan Streetman
---
arch/um/drivers/hostaudio_kern.c | 20 +++
drivers/net/ethernet/myricom/myri10ge/
Change the "enabled" parameter to be configurable at runtime. Remove
the enabled check from init(), and move it to the frontswap store()
function; when enabled, pages will be stored, and when disabled, pages
won't be stored.
Signed-off-by: Dan Streetman
---
mm/zswap.c | 13 +
Add dynamic creation of pools. Move the static crypto compression
per-cpu transforms into each pool. Add a pointer to zswap_entry to
the pool it's in.
This is required by the following patch which enables changing the
zswap zpool and compressor params at runtime.
Signed-off-by: Dan Stre
pool(s) are removed once they become empty.
Signed-off-by: Dan Streetman
---
mm/zswap.c | 135 +++--
1 file changed, 122 insertions(+), 13 deletions(-)
diff --git a/mm/zswap.c b/mm/zswap.c
index 6eb0d93..af74bd2 100644
--- a/mm/zswap.c
+++ b
ll the
zpool_ops->evict function, when it needs to evict a page. This avoids
a spinlock and list search in zpool for each eviction.
Signed-off-by: Dan Streetman
---
include/linux/zpool.h | 5 ++---
mm/zbud.c | 23 +++
mm/zpool.c
Add entry for zpool to MAINTAINERS file.
Signed-off-by: Dan Streetman
---
MAINTAINERS | 7 +++
1 file changed, 7 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index e308718..5c0f13b 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -11056,6 +11056,13 @@ L: zd1211-d
ot; marker. With the minimum
buffer size set too high, some highly compressed buffers were being padded
and the hw was incorrectly rejecting them; this sets the minimum correctly
so there will be no incorrect padding.
Signed-off-by: Dan Streetman
---
drivers/crypto/nx/nx-842-pseries.c | 7 ++---
On Tue, Jun 2, 2015 at 4:11 PM, Seth Jennings wrote:
> On Tue, Jun 02, 2015 at 11:11:55AM -0400, Dan Streetman wrote:
>> Change the "enabled" parameter to be configurable at runtime. Remove
>> the enabled check from init(), and move it to the frontswap store()
>>
On Tue, Jun 2, 2015 at 4:26 PM, Seth Jennings wrote:
> On Tue, Jun 02, 2015 at 11:11:52AM -0400, Dan Streetman wrote:
>> This patch series allows setting all zswap params at runtime, instead
>> of only being settable at boot-time.
>>
>> The changes to zswap are rather
om 2 years ago:
http://lkml.iu.edu/hypermail/linux/kernel/1307.2/04289.html
Suggested-by: Seth Jennings
Signed-off-by: Dan Streetman
---
Documentation/vm/zswap.txt | 18 --
mm/zswap.c | 12 +---
2 files changed, 21 insertions(+), 9 deletions(-)
diff --gi
On Tue, Jun 2, 2015 at 5:09 PM, Joe Perches wrote:
> On Tue, 2015-06-02 at 12:56 -0400, Dan Streetman wrote:
>> Add entry for zpool to MAINTAINERS file.
> []
>> diff --git a/MAINTAINERS b/MAINTAINERS
> []
>> @@ -11056,6 +11056,13 @@ L: zd1211-d...@lists.sourceforg
On Tue, Jun 2, 2015 at 5:06 PM, Andrew Morton wrote:
> On Mon, 1 Jun 2015 10:22:24 -0400 Dan Streetman wrote:
>
>> Change frontswap single pointer to a singly linked list of frontswap
>> implementations. Update Xen tmem implementation as register no longer
>> returns a
y previous frontswap implementation that they
replace when registering.
This allows frontswap to successfully manage multiple implementations
by keeping a list of them all.
Signed-off-by: Dan Streetman
---
Changes since v2:
-initialize bitmaps in frontswap_register_ops
-fix comment capitalization
d
On Tue, Jun 2, 2015 at 11:56 PM, Sergey Senozhatsky
wrote:
> On (06/02/15 14:30), Joe Perches wrote:
>> > >> +ZPOOL COMPRESSED PAGE STORAGE API
>> > >> +M: Dan Streetman
>> > >> +L: linux...@kvack.org
>> > >> +S: Maintain
On Wed, Jun 3, 2015 at 1:08 AM, Herbert Xu wrote:
> On Thu, May 28, 2015 at 04:21:31PM -0400, Dan Streetman wrote:
>> Change the nx-842 common driver to wait for loading of both platform
>> drivers, and fail loading if the platform driver pointer is not set.
>> Add an indepe
Add dynamic creation of pools. Move the static crypto compression
per-cpu transforms into each pool. Add a pointer to zswap_entry to
the pool it's in.
This is required by a separate patch which enables changing the
zswap zpool and compressor params at runtime.
Signed-off-by: Dan Stre
On Thu, Jun 4, 2015 at 8:02 AM, Dan Streetman wrote:
> Add dynamic creation of pools. Move the static crypto compression
> per-cpu transforms into each pool. Add a pointer to zswap_entry to
> the pool it's in.
Seth, as far as the design, from your previous comments I assume you
ram mutex. They are thus replaced with simplified functions
that clearly indicate that all params for a module are being blocked, both
for read and write access.
Signed-off-by: Dan Streetman
---
arch/um/drivers/hostaudio_kern.c | 20 +++
drivers/net/ethernet/myricom/myri10ge/myr
On Thu, May 28, 2015 at 6:29 PM, Paul E. McKenney
wrote:
> On Thu, May 28, 2015 at 05:24:14PM -0400, Dan Streetman wrote:
>> On Thu, May 28, 2015 at 5:16 PM, Paul E. McKenney
>> wrote:
>> > On Thu, May 28, 2015 at 05:12:00PM -0400, Dan Streetman wrote:
>> >
Change the pr_info() calls to pr_debug(). There's no need for the extra
verbosity in the log. Also change the msg formats to be consistent.
Signed-off-by: Dan Streetman
---
mm/zpool.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/mm/zpool.c b/mm/zpool.c
Export the zpool functions that should be exported.
Signed-off-by: Dan Streetman
---
mm/zpool.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/mm/zpool.c b/mm/zpool.c
index 6b1f103..884659d 100644
--- a/mm/zpool.c
+++ b/mm/zpool.c
@@ -188,6 +188,7 @@ struct zpool
Add zpool_has_pool() function, indicating if the specified type of zpool
is available (i.e. zsmalloc or zbud). This allows checking if a pool is
available, without actually trying to allocate it, similar to
crypto_has_alg().
Signed-off-by: Dan Streetman
---
include/linux/zpool.h | 2 ++
mm
On Fri, May 29, 2015 at 11:22 AM, Christoph Hellwig wrote:
> On Fri, May 29, 2015 at 11:09:32AM -0400, Dan Streetman wrote:
>> Export the zpool functions that should be exported.
>
> Why?
because they are available for public use, per zpool.h? If, e.g.,
zram ever started using
On Fri, May 29, 2015 at 12:30 PM, Christoph Hellwig wrote:
> On Fri, May 29, 2015 at 11:36:05AM -0400, Dan Streetman wrote:
>> because they are available for public use, per zpool.h? If, e.g.,
>> zram ever started using zpool, it would need them exported, wouldn't
>>
On Fri, May 29, 2015 at 5:37 PM, Andrew Morton
wrote:
> On Fri, 29 May 2015 11:12:18 -0400 Dan Streetman wrote:
>
>> Add zpool_has_pool() function, indicating if the specified type of zpool
>> is available (i.e. zsmalloc or zbud). This allows checking if a pool is
>> ava
On Fri, May 29, 2015 at 6:07 PM, Andrew Morton
wrote:
> On Thu, 28 May 2015 16:28:37 -0400 Dan Streetman wrote:
>
>> Change frontswap single pointer to a singly linked list of frontswap
>> implementations. Update Xen tmem implementation as register no longer
>> returns a
y previous frontswap implementation that they
replace when registering.
This allows frontswap to successfully manage multiple implementations
by keeping a list of them all.
Suggested-by: Andrew Morton
Signed-off-by: Dan Streetman
---
Changes since v1, all per Andrew's suggestions:
-comments add
On Mon, Jun 1, 2015 at 2:17 PM, Paul E. McKenney
wrote:
> On Fri, May 29, 2015 at 09:40:43AM -0400, Dan Streetman wrote:
>> On Thu, May 28, 2015 at 6:29 PM, Paul E. McKenney
>> wrote:
>> > On Thu, May 28, 2015 at 05:24:14PM -0400, Dan Streetman wrote:
>> >> O
On Mon, Jun 8, 2015 at 5:13 PM, Rusty Russell wrote:
> Dan Streetman writes:
>> On Thu, Jun 4, 2015 at 8:42 PM, Rusty Russell wrote:
>>> Dan Streetman writes:
>>>> I sent this as part of a patch series a few days ago, which I was asked to
>>>> break u
sense and even causes compile failures
with some compilers. */
So instead, this copies the idea from __param_check() to add inline
constant functions to check the param permissions. That way no extra
bits are needed.
Signed-off-by: Dan Streetman
---
include/linux/mod
On Thu, Jun 4, 2015 at 8:13 AM, Dan Streetman wrote:
> On Thu, Jun 4, 2015 at 8:02 AM, Dan Streetman wrote:
>> Add dynamic creation of pools. Move the static crypto compression
>> per-cpu transforms into each pool. Add a pointer to zswap_entry to
>> the pool it's i
nozhatsky
> Reported-by: Andrew Morton
> LKML-reference: https://lkml.org/lkml/2015/6/8/583
Acked-by: Dan Streetman
> ---
> mm/zpool.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/mm/zpool.c b/mm/zpool.c
> index bacdab6..2f59b90 100644
> ---
1 - 100 of 529 matches
Mail list logo