lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 25 Aug 2011 08:29:49 -0500
From:	Seth Jennings <sjenning@...ux.vnet.ibm.com>
To:	KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
CC:	Dan Magenheimer <dan.magenheimer@...cle.com>,
	linux-kernel@...r.kernel.org, linux-mm@...ck.org, jeremy@...p.org,
	hughd@...gle.com, ngupta@...are.org, konrad.wilk@...cle.com,
	JBeulich@...ell.com, kurt.hackel@...cle.com, npiggin@...nel.dk,
	akpm@...ux-foundation.org, riel@...hat.com, hannes@...xchg.org,
	matthew@....cx, chris.mason@...cle.com, jackdachef@...il.com,
	cyclonusj@...il.com
Subject: Re: Subject: [PATCH V7 2/4] mm: frontswap: core code

On 08/25/2011 01:05 AM, KAMEZAWA Hiroyuki wrote:
> On Tue, 23 Aug 2011 07:58:15 -0700
> Dan Magenheimer <dan.magenheimer@...cle.com> wrote:
> 
>> From: Dan Magenheimer <dan.magenheimer@...cle.com>
>> Subject: [PATCH V7 2/4] mm: frontswap: core code
>>
>> This second patch of four in this frontswap series provides the core code
>> for frontswap that interfaces between the hooks in the swap subsystem and
>> a frontswap backend via frontswap_ops.
>>
>> Two new files are added: mm/frontswap.c and include/linux/frontswap.h
>>
>> Credits: Frontswap_ops design derived from Jeremy Fitzhardinge
>> design for tmem; sysfs code modelled after mm/ksm.c
>>
>> [v7: rebase to 3.0-rc3]
>> [v7: JBeulich@...ell.com: new static inlines resolve to no-ops if not config'd]
>> [v7: JBeulich@...ell.com: avoid redundant shifts/divides for *_bit lib calls]
>> [v6: rebase to 3.1-rc1]
>> [v6: lliubbo@...il.com: fix null pointer deref if vzalloc fails]
>> [v6: konrad.wilk@...cl.com: various checks and code clarifications/comments]
>> [v5: no change from v4]
>> [v4: rebase to 2.6.39]
>> Signed-off-by: Dan Magenheimer <dan.magenheimer@...cle.com>
>> Reviewed-by: Konrad Wilk <konrad.wilk@...cle.com>
>> Acked-by: Jan Beulich <JBeulich@...ell.com>
>> Acked-by: Seth Jennings <sjenning@...ux.vnet.ibm.com>
>> Cc: Jeremy Fitzhardinge <jeremy@...p.org>
>> Cc: Hugh Dickins <hughd@...gle.com>
>> Cc: Johannes Weiner <hannes@...xchg.org>
>> Cc: Nitin Gupta <ngupta@...are.org>
>> Cc: Matthew Wilcox <matthew@....cx>
>> Cc: Chris Mason <chris.mason@...cle.com>
>> Cc: Rik Riel <riel@...hat.com>
>> Cc: Andrew Morton <akpm@...ux-foundation.org>
>>
<cut>
> 
> 
> I'm sorry if I miss codes but.... is an implementation of frontswap.ops included
> in this patch set ? Or how to test the work ?

The zcache driver (in drivers/staging/zcache) is the one that registers frontswap ops.

You can test frontswap by enabling CONFIG_FRONTSWAP and CONFIG_ZCACHE, and putting 
"zcache" in the kernel boot parameters.

> 
> Thanks,
> -Kame
> 
> --
> To unsubscribe, send a message with 'unsubscribe linux-mm' in
> the body to majordomo@...ck.org.  For more info on Linux MM,
> see: http://www.linux-mm.org/ .
> Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
> Don't email: <a href=mailto:"dont@...ck.org"> email@...ck.org </a>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ