+ mm-zswapc-get-swapper-address_space-by-using-macro.patch added to -mm tree
Subsystems (2)
[email protected]
maintainerSubject: + mm-zswapc-get-swapper-address_space-by-using-macro.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 16 Jul 2013 15:22:21 -0700
The patch titled
Subject: mm/zswap.c: get swapper address_space by using macro
has been added to the -mm tree. Its filename is
mm-zswapc-get-swapper-address_space-by-using-macro.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/mm-zswapc-get-swapper-address_space-by-using-macro.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/mm-zswapc-get-swapper-address_space-by-using-macro.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated there every 3-4 working days
------------------------------------------------------
From: Sunghan Suh <[email protected]>
Subject: mm/zswap.c: get swapper address_space by using macro
There is a proper macro to get the corresponding swapper address space from a swap entry. Instead of directly accessing "swapper_spaces" array, use the "swap_address_space" macro.
---
mm/zswap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/zswap.c renamed from mm/zswap.c~mm-zswapc-get-swapper-address_space-by-using-macro +1 -1
@@ -409,7 +409,7 @@ static int zswap_get_swap_cache_page(swp struct page **retpage) {struct page *found_page, *new_page =NULL ; -struct address_space *swapper_space = &swapper_spaces[swp_type (entry)]; +struct address_space *swapper_space =swap_address_space (entry);int err; *retpage =NULL ;
_
Patches currently in -mm which might be from [email protected] are
mm-zswapc-get-swapper-address_space-by-using-macro.patch