You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Artem Bityutskiy
dcf6a79dda
write-back: fix nr_to_write counter
...
Commit 05fe478dd0
introduced some
@wbc->nr_to_write breakage.
It made the following changes:
1. Decrement wbc->nr_to_write instead of nr_to_write
2. Decrement wbc->nr_to_write _only_ if wbc->sync_mode == WB_SYNC_NONE
3. If synced nr_to_write pages, stop only if if wbc->sync_mode ==
WB_SYNC_NONE, otherwise keep going.
However, according to the commit message, the intention was to only make
change 3. Change 1 is a bug. Change 2 does not seem to be necessary,
and it breaks UBIFS expectations, so if needed, it should be done
separately later. And change 2 does not seem to be documented in the
commit message.
This patch does the following:
1. Undo changes 1 and 2
2. Add a comment explaining change 3 (it very useful to have comments
in _code_, not only in the commit).
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Acked-by: Nick Piggin <npiggin@suse.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
16 years ago
..
Kconfig
Remove obsolete CONFIG_RESOURCES_64BIT
16 years ago
Makefile
shmem: unify regular and tiny shmem
16 years ago
allocpercpu.c
…
backing-dev.c
Merge branch 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
16 years ago
bootmem.c
bootmem: print request details before BUG_ON(them)
16 years ago
bounce.c
bounce: don't rely on a zeroed bio_vec list
16 years ago
dmapool.c
…
fadvise.c
[CVE-2009-0029] System call wrapper special cases
16 years ago
failslab.c
SLUB: failslab support
16 years ago
filemap.c
[CVE-2009-0029] System call wrapper special cases
16 years ago
filemap_xip.c
badpage: remove vma from page_remove_rmap
16 years ago
fremap.c
[CVE-2009-0029] System call wrappers part 13
16 years ago
highmem.c
x86, pat: avoid highmem cache attribute aliasing
17 years ago
hugetlb.c
mm: hugetlb: remove redundant `if' operation
16 years ago
internal.h
mm: make get_user_pages() interruptible
16 years ago
maccess.c
…
madvise.c
[CVE-2009-0029] System call wrappers part 14
16 years ago
memcontrol.c
memcg: NULL pointer dereference at rmdir on some NUMA systems
16 years ago
memory.c
x86 PAT: change track_pfn_vma_new to take pgprot_t pointer param
16 years ago
memory_hotplug.c
mm: remove GFP_HIGHUSER_PAGECACHE
16 years ago
mempolicy.c
[CVE-2009-0029] System call wrappers part 28
16 years ago
mempool.c
…
migrate.c
[CVE-2009-0029] System call wrappers part 28
16 years ago
mincore.c
[CVE-2009-0029] System call wrappers part 14
16 years ago
mlock.c
Manually revert "mlock: downgrade mmap sem while populating mlocked regions"
16 years ago
mm_init.c
mm: mminit_loglevel cannot be __meminitdata anymore
17 years ago
mmap.c
Stop playing silly games with the VM_ACCOUNT flag
16 years ago
mmu_notifier.c
mmu-notifiers: core
17 years ago
mmzone.c
mm: mark the correct zone as full when scanning zonelists
17 years ago
mprotect.c
[CVE-2009-0029] System call wrappers part 13
16 years ago
mremap.c
[CVE-2009-0029] System call wrappers part 13
16 years ago
msync.c
[CVE-2009-0029] System call wrappers part 13
16 years ago
nommu.c
uclinux: add process name to allocation error message
16 years ago
oom_kill.c
memcg: avoid deadlock caused by race between oom and cpuset_attach
16 years ago
page-writeback.c
write-back: fix nr_to_write counter
16 years ago
page_alloc.c
mm: introduce zone_reclaim struct
16 years ago
page_cgroup.c
memcg: add mem_cgroup_disabled()
16 years ago
page_io.c
mm: try_to_free_swap replaces remove_exclusive_swap_page
16 years ago
page_isolation.c
memory hotplug: fix page_zone() calculation in test_pages_isolated()
16 years ago
pagewalk.c
…
pdflush.c
cpumask: convert mm/
16 years ago
prio_tree.c
…
quicklist.c
mm: size of quicklists shouldn't be proportional to the number of CPUs
17 years ago
readahead.c
vmscan: split LRU lists into anon & file sets
17 years ago
rmap.c
badpage: remove vma from page_remove_rmap
16 years ago
shmem.c
Stop playing silly games with the VM_ACCOUNT flag
16 years ago
shmem_acl.c
…
slab.c
cpumask: convert mm/
16 years ago
slob.c
slob: do not pass the SLAB flags as GFP in kmem_cache_create()
16 years ago
slub.c
slub: fix per cpu kmem_cache_cpu array memory leak
16 years ago
sparse-vmemmap.c
vmemmap: warn about page_structs with remote distance
16 years ago
sparse.c
meminit section warnings
16 years ago
swap.c
memcg: add zone_reclaim_stat
16 years ago
swap_state.c
memcg: mem+swap controller core
16 years ago
swapfile.c
memcg: fix refcnt handling at swapoff
16 years ago
thrash.c
…
truncate.c
mmap: handle mlocked pages during map, remap, unmap
17 years ago
util.c
mm: Make generic weak get_user_pages_fast and EXPORT_GPL it
17 years ago
vmalloc.c
revert "mm: vmalloc use mutex for purge"
16 years ago
vmscan.c
memcg: fix calculation of active_ratio
16 years ago
vmstat.c
cpumask: convert mm/
16 years ago