History log of /openbmc/linux/mm/nommu.c (Results 2101 – 2125 of 2174)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 9e0cb06b 30-Oct-2005 Jeff Garzik <jgarzik@pobox.com>

Merge branch 'master'


# 07b188ab 30-Oct-2005 Anton Altaparmakov <aia21@cantab.net>

Merge branch 'master' of /usr/src/ntfs-2.6/


# 9359ede7 30-Oct-2005 Jeff Garzik <jgarzik@pobox.com>

Merge branch 'upstream'


# fce45c1c 30-Oct-2005 Jeff Garzik <jgarzik@pobox.com>

Merge branch 'upstream'


# f0612bbc 30-Oct-2005 Jeff Garzik <jgarzik@pobox.com>

Merge branch 'upstream'


# 81cfb886 30-Oct-2005 Jeff Garzik <jgarzik@pobox.com>

Merge branch 'master'


# deceb6cd 29-Oct-2005 Hugh Dickins <hugh@veritas.com>

[PATCH] mm: follow_page with inner ptlock

Final step in pushing down common core's page_table_lock. follow_page no
longer wants caller to hold page_table_lock, uses pte_offset_map_lock itself;
and

[PATCH] mm: follow_page with inner ptlock

Final step in pushing down common core's page_table_lock. follow_page no
longer wants caller to hold page_table_lock, uses pte_offset_map_lock itself;
and so no page_table_lock is taken in get_user_pages itself.

But get_user_pages (and get_futex_key) do then need follow_page to pin the
page for them: take Daniel's suggestion of bitflags to follow_page.

Need one for WRITE, another for TOUCH (it was the accessed flag before:
vanished along with check_user_page_readable, but surely get_numa_maps is
wrong to mark every page it finds as accessed), another for GET.

And another, ANON to dispose of untouched_anonymous_page: it seems silly for
that to descend a second time, let follow_page observe if there was no page
table and return ZERO_PAGE if so. Fix minor bug in that: check VM_LOCKED -
make_pages_present ought to make readonly anonymous present.

Give get_numa_maps a cond_resched while we're there.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

show more ...


# 365e9c87 29-Oct-2005 Hugh Dickins <hugh@veritas.com>

[PATCH] mm: update_hiwaters just in time

update_mem_hiwater has attracted various criticisms, in particular from those
concerned with mm scalability. Originally it was called whenever rss or
total_

[PATCH] mm: update_hiwaters just in time

update_mem_hiwater has attracted various criticisms, in particular from those
concerned with mm scalability. Originally it was called whenever rss or
total_vm got raised. Then many of those callsites were replaced by a timer
tick call from account_system_time. Now Frank van Maarseveen reports that to
be found inadequate. How about this? Works for Frank.

Replace update_mem_hiwater, a poor combination of two unrelated ops, by macros
update_hiwater_rss and update_hiwater_vm. Don't attempt to keep
mm->hiwater_rss up to date at timer tick, nor every time we raise rss (usually
by 1): those are hot paths. Do the opposite, update only when about to lower
rss (usually by many), or just before final accounting in do_exit. Handle
mm->hiwater_vm in the same way, though it's much less of an issue. Demand
that whoever collects these hiwater statistics do the work of taking the
maximum with rss or total_vm.

And there has been no collector of these hiwater statistics in the tree. The
new convention needs an example, so match Frank's usage by adding a VmPeak
line above VmSize to /proc/<pid>/status, and also a VmHWM line above VmRSS
(High-Water-Mark or High-Water-Memory).

There was a particular anomaly during mremap move, that hiwater_vm might be
captured too high. A fleeting such anomaly remains, but it's quickly
corrected now, whereas before it would stick.

What locking? None: if the app is racy then these statistics will be racy,
it's not worth any overhead to make them exact. But whenever it suits,
hiwater_vm is updated under exclusive mmap_sem, and hiwater_rss under
page_table_lock (for now) or with preemption disabled (later on): without
going to any trouble, minimize the time between reading current values and
updating, to minimize those occasions when a racing thread bumps a count up
and back down in between.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

show more ...


# 4294621f 29-Oct-2005 Hugh Dickins <hugh@veritas.com>

[PATCH] mm: rss = file_rss + anon_rss

I was lazy when we added anon_rss, and chose to change as few places as
possible. So currently each anonymous page has to be counted twice, in rss
and in anon_

[PATCH] mm: rss = file_rss + anon_rss

I was lazy when we added anon_rss, and chose to change as few places as
possible. So currently each anonymous page has to be counted twice, in rss
and in anon_rss. Which won't be so good if those are atomic counts in some
configurations.

Change that around: keep file_rss and anon_rss separately, and add them
together (with get_mm_rss macro) when the total is needed - reading two
atomics is much cheaper than updating two atomics. And update anon_rss
upfront, typically in memory.c, not tucked away in page_add_anon_rmap.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

show more ...


# 90890687 28-Oct-2005 Jeff Garzik <jgarzik@pobox.com>

Merge branch 'master'


Revision tags: v2.6.14
# 9cec58dc 20-Oct-2005 Tony Luck <tony.luck@intel.com>

Update from upstream with manual merge of Yasunori Goto's
changes to swiotlb.c made in commit 281dd25cdc0d6903929b79183816d151ea626341
since this file has been moved from arch/ia64/lib/swiotlb.c to
l

Update from upstream with manual merge of Yasunori Goto's
changes to swiotlb.c made in commit 281dd25cdc0d6903929b79183816d151ea626341
since this file has been moved from arch/ia64/lib/swiotlb.c to
lib/swiotlb.c

Signed-off-by: Tony Luck <tony.luck@intel.com>

show more ...


# 312f5726 20-Oct-2005 Dave Airlie <airlied@starflyer.(none)>

merge Linus head tree into my drm tree and fix up conflicts


Revision tags: v2.6.14-rc5
# b194b425 18-Oct-2005 Jeff Garzik <jgarzik@pobox.com>

Merge branch 'upstream'


# 4e0e329d 18-Oct-2005 Jeff Garzik <jgarzik@pobox.com>

Merge branch 'upstream'


# 77501f3c 18-Oct-2005 Jeff Garzik <jgarzik@pobox.com>

Merge branch 'upstream'


# cff6bf97 18-Oct-2005 Trond Myklebust <Trond.Myklebust@netapp.com>

Merge /home/trondmy/scm/kernel/git/torvalds/linux-2.6


# 59aee3c2 13-Oct-2005 Jeff Garzik <jgarzik@pobox.com>

Merge branch 'master'


# 7217cbcc 13-Oct-2005 Trond Myklebust <Trond.Myklebust@netapp.com>

Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6


# b6ec995a 11-Oct-2005 Paul Mackerras <paulus@samba.org>

Merge from Linus' tree


# 29d8699e 11-Oct-2005 Anton Altaparmakov <aia21@cantab.net>

Merge branch 'master' of /usr/src/ntfs-2.6/


# 1a04392b 11-Oct-2005 Jeff Garzik <jgarzik@pobox.com>

Merge branch 'master'


Revision tags: v2.6.14-rc4
# dd0fc66f 07-Oct-2005 Al Viro <viro@ftp.linux.org.uk>

[PATCH] gfp flags annotations - part 1

- added typedef unsigned int __nocast gfp_t;

- replaced __nocast uses for gfp flags with gfp_t - it gives exactly
the same warnings as far as sparse is c

[PATCH] gfp flags annotations - part 1

- added typedef unsigned int __nocast gfp_t;

- replaced __nocast uses for gfp flags with gfp_t - it gives exactly
the same warnings as far as sparse is concerned, doesn't change
generated code (from gcc point of view we replaced unsigned int with
typedef) and documents what's going on far better.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

show more ...


Revision tags: v2.6.14-rc3
# 4e0c1159 24-Sep-2005 Dave Airlie <airlied@starflyer.(none)>

update from upstream


Revision tags: v2.6.14-rc2
# dbaa9a9d 14-Sep-2005 Jeff Garzik <jgarzik@pobox.com>

Merge /spare/repo/linux-2.6/


# 905ec87e 14-Sep-2005 Jeff Garzik <jgarzik@pobox.com>

Merge /spare/repo/linux-2.6/


1...<<81828384858687