Skip to contentSkip to conversation

+ swap-add-a-simple-detector-for-inappropriate-swapin-readahead-fix.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Jun 11, 2013

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: + swap-add-a-simple-detector-for-inappropriate-swapin-readahead-fix.patch added to -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 11 Jun 2013 14:24:05 -0700

The patch titled
Subject: swap: swapin_nr_pages() can be static
has been added to the -mm tree. Its filename is
swap-add-a-simple-detector-for-inappropriate-swapin-readahead-fix.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: Fengguang Wu <[email protected]>
Subject: swap: swapin_nr_pages() can be static

---

 mm/swap_state.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/swap_state.c renamed from mm/swap_state.c~swap-add-a-simple-detector-for-inappropriate-swapin-readahead-fix +1 -1
diff -puN mm/swap_state.c~swap-add-a-simple-detector-for-inappropriate-swapin-readahead-fix mm/swap_state.c
@@ -394,7 +394,7 @@ struct page *read_swap_cache_async(swp_e
 	return found_page;
 }
 
-unsigned long swapin_nr_pages(unsigned long offset)
+static unsigned long swapin_nr_pages(unsigned long offset)
 {
 	static unsigned long prev_offset;
 	unsigned int pages, max_pages, last_ra;

_

Patches currently in -mm which might be from [email protected] are

linux-next.patch swap-add-a-simple-detector-for-inappropriate-swapin-readahead.patch swap-add-a-simple-detector-for-inappropriate-swapin-readahead-fix.patch mm-tune-vm_committed_as-percpu_counter-batching-size-fix.patch fs-fs-writebackc-make-wb_do_writeback-as-static.patch smp-give-warning-when-calling-smp_call_function_many-single-in-serving-irq.patch fat-additions-to-support-fat_fallocate-fix.patch crypto-add-lz4-cryptographic-api-fix.patch debugging-keep-track-of-page-owners-fix-2-fix-fix-fix.patch debugging-keep-track-of-page-owner-now-depends-on-stacktrace_support.patch