Re: tasks getting stuck on mmap_sem?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linus Torvalds
Date: Tuesday, August 17, 2010 - 2:08 pm

On Tue, Aug 17, 2010 at 1:46 PM, Tony Luck <tony.luck@intel.com> wrote:

I'm not sure how page-fault intensive that 'git grep' thing is - I
think it does mainly open/read/close on the files and probably doesn't
take that many faults once malloc() has created the main heap. In
contrast, the delta compute code (that david hit) is probably going to
do a lot more page faults due to being way more data-intensive (many
more mmap/munmap calls - it's how git tends to like to map git
objects).

So a more fault-intensive - and still threaded and all local - git
load is likely to do something like

   git repack -adf

and do it on something smaller than the whole kernel (git itself is
probably a good test-case, and probably isn't that far off from a
medium-sized kernel "pull" request).

                 Linus
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
tasks getting stuck on mmap_sem?, David Miller, (Mon Aug 16, 9:12 pm)
Re: tasks getting stuck on mmap_sem?, Linus Torvalds, (Tue Aug 17, 9:14 am)
Re: tasks getting stuck on mmap_sem?, Tony Luck, (Tue Aug 17, 11:24 am)
Re: tasks getting stuck on mmap_sem?, Tony Luck, (Tue Aug 17, 1:46 pm)
Re: tasks getting stuck on mmap_sem?, Linus Torvalds, (Tue Aug 17, 2:08 pm)
Re: tasks getting stuck on mmap_sem?, Tony Luck, (Tue Aug 17, 2:26 pm)
Re: tasks getting stuck on mmap_sem?, Linus Torvalds, (Tue Aug 17, 2:28 pm)
Re: tasks getting stuck on mmap_sem?, David Miller, (Tue Aug 17, 2:44 pm)
Re: tasks getting stuck on mmap_sem?, Michel Lespinasse, (Tue Aug 17, 2:47 pm)
Re: tasks getting stuck on mmap_sem?, David Miller, (Tue Aug 17, 2:59 pm)
Re: tasks getting stuck on mmap_sem?, David Miller, (Tue Aug 17, 4:40 pm)