login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
13
Re: [PATCH 08 of 11] anon-vma-rwsem
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Nick Piggin
Subject:
Re: [PATCH 08 of 11] anon-vma-rwsem
Date: Tuesday, May 13, 2008 - 5:06 am
On Thursday 08 May 2008 10:38, Robin Holt wrote:
quoted text
> On Wed, May 07, 2008 at 02:36:57PM -0700, Linus Torvalds wrote: > > On Wed, 7 May 2008, Andrea Arcangeli wrote: > > > I think the spinlock->rwsem conversion is ok under config option, as > > > you can see I complained myself to various of those patches and I'll > > > take care they're in a mergeable state the moment I submit them. What > > > XPMEM requires are different semantics for the methods, and we never > > > had to do any blocking I/O during vmtruncate before, now we have to. > > > > I really suspect we don't really have to, and that it would be better to > > just fix the code that does that. > > That fix is going to be fairly difficult. I will argue impossible. > > First, a little background. SGI allows one large numa-link connected > machine to be broken into seperate single-system images which we call > partitions. > > XPMEM allows, at its most extreme, one process on one partition to > grant access to a portion of its virtual address range to processes on > another partition. Those processes can then fault pages and directly > share the memory. > > In order to invalidate the remote page table entries, we need to message > (uses XPC) to the remote side. The remote side needs to acquire the > importing process's mmap_sem and call zap_page_range(). Between the > messaging and the acquiring a sleeping lock, I would argue this will > require sleeping locks in the path prior to the mmu_notifier invalidate_* > callouts().
Why do you need to take mmap_sem in order to shoot down pagetables of the process? It would be nice if this can just be done without sleeping. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 00 of 11] mmu notifier #v16
, Andrea Arcangeli
, (Wed May 7, 7:35 am)
[PATCH 01 of 11] mmu-notifier-core
, Andrea Arcangeli
, (Wed May 7, 7:35 am)
[PATCH 02 of 11] get_task_mm
, Andrea Arcangeli
, (Wed May 7, 7:35 am)
[PATCH 03 of 11] invalidate_page outside PT lock
, Andrea Arcangeli
, (Wed May 7, 7:35 am)
[PATCH 04 of 11] free-pgtables
, Andrea Arcangeli
, (Wed May 7, 7:35 am)
[PATCH 05 of 11] unmap vmas tlb flushing
, Andrea Arcangeli
, (Wed May 7, 7:35 am)
[PATCH 06 of 11] rwsem contended
, Andrea Arcangeli
, (Wed May 7, 7:35 am)
[PATCH 07 of 11] i_mmap_rwsem
, Andrea Arcangeli
, (Wed May 7, 7:35 am)
[PATCH 08 of 11] anon-vma-rwsem
, Andrea Arcangeli
, (Wed May 7, 7:35 am)
[PATCH 09 of 11] mm_lock-rwsem
, Andrea Arcangeli
, (Wed May 7, 7:35 am)
[PATCH 10 of 11] export zap_page_range for XPMEM
, Andrea Arcangeli
, (Wed May 7, 7:36 am)
[PATCH 11 of 11] mmap sems
, Andrea Arcangeli
, (Wed May 7, 7:36 am)
Re: [PATCH 02 of 11] get_task_mm
, Robin Holt
, (Wed May 7, 8:59 am)
Re: [PATCH 02 of 11] get_task_mm
, Andrea Arcangeli
, (Wed May 7, 9:20 am)
Re: [PATCH 01 of 11] mmu-notifier-core
, Rik van Riel
, (Wed May 7, 10:35 am)
Re: [PATCH 03 of 11] invalidate_page outside PT lock
, Rik van Riel
, (Wed May 7, 10:39 am)
Re: [PATCH 04 of 11] free-pgtables
, Rik van Riel
, (Wed May 7, 10:41 am)
Re: [PATCH 05 of 11] unmap vmas tlb flushing
, Rik van Riel
, (Wed May 7, 10:46 am)
Re: [PATCH 03 of 11] invalidate_page outside PT lock
, Andrea Arcangeli
, (Wed May 7, 10:57 am)
Re: [PATCH 01 of 11] mmu-notifier-core
, Andrew Morton
, (Wed May 7, 1:02 pm)
Re: [PATCH 01 of 11] mmu-notifier-core
, Andrew Morton
, (Wed May 7, 1:05 pm)
Re: [PATCH 01 of 11] mmu-notifier-core
, Linus Torvalds
, (Wed May 7, 1:30 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Linus Torvalds
, (Wed May 7, 1:56 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Andrea Arcangeli
, (Wed May 7, 2:26 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Linus Torvalds
, (Wed May 7, 2:36 pm)
Re: [PATCH 01 of 11] mmu-notifier-core
, Andrea Arcangeli
, (Wed May 7, 2:58 pm)
Re: [PATCH 01 of 11] mmu-notifier-core
, Linus Torvalds
, (Wed May 7, 3:11 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Andrea Arcangeli
, (Wed May 7, 3:22 pm)
Re: [PATCH 01 of 11] mmu-notifier-core
, Andrea Arcangeli
, (Wed May 7, 3:27 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Andrew Morton
, (Wed May 7, 3:31 pm)
Re: [ofa-general] Re: [PATCH 01 of 11] mmu-notifier-core
, Roland Dreier
, (Wed May 7, 3:31 pm)
Re: [PATCH 01 of 11] mmu-notifier-core
, Andrea Arcangeli
, (Wed May 7, 3:37 pm)
Re: [ofa-general] Re: [PATCH 01 of 11] mmu-notifier-core
, Andrea Arcangeli
, (Wed May 7, 3:39 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Jack Steiner
, (Wed May 7, 3:42 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Andrea Arcangeli
, (Wed May 7, 3:44 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Linus Torvalds
, (Wed May 7, 3:44 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Andrea Arcangeli
, (Wed May 7, 3:58 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Andrew Morton
, (Wed May 7, 3:59 pm)
Re: [PATCH 01 of 11] mmu-notifier-core
, Linus Torvalds
, (Wed May 7, 4:00 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Andrea Arcangeli
, (Wed May 7, 4:02 pm)
Re: [ofa-general] Re: [PATCH 01 of 11] mmu-notifier-core
, Linus Torvalds
, (Wed May 7, 4:03 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Linus Torvalds
, (Wed May 7, 4:09 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Linus Torvalds
, (Wed May 7, 4:19 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Benjamin Herrenschmidt
, (Wed May 7, 4:28 pm)
Re: [PATCH 01 of 11] mmu-notifier-core
, Linus Torvalds
, (Wed May 7, 4:38 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Christoph Lameter
, (Wed May 7, 4:39 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Andrea Arcangeli
, (Wed May 7, 4:39 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Andrea Arcangeli
, (Wed May 7, 4:45 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Linus Torvalds
, (Wed May 7, 5:03 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Robin Holt
, (Wed May 7, 5:38 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Robin Holt
, (Wed May 7, 5:52 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Linus Torvalds
, (Wed May 7, 5:55 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Christoph Lameter
, (Wed May 7, 5:56 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Linus Torvalds
, (Wed May 7, 6:02 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Linus Torvalds
, (Wed May 7, 6:07 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Christoph Lameter
, (Wed May 7, 6:12 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Andrea Arcangeli
, (Wed May 7, 6:26 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Linus Torvalds
, (Wed May 7, 6:32 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Andrea Arcangeli
, (Wed May 7, 6:34 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Linus Torvalds
, (Wed May 7, 6:39 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Andrea Arcangeli
, (Wed May 7, 6:52 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Linus Torvalds
, (Wed May 7, 6:57 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Andrea Arcangeli
, (Wed May 7, 7:24 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Linus Torvalds
, (Wed May 7, 7:32 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Andrea Arcangeli
, (Wed May 7, 7:56 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Christoph Lameter
, (Wed May 7, 8:10 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Andrea Arcangeli
, (Wed May 7, 8:41 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Linus Torvalds
, (Wed May 7, 9:14 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Andrea Arcangeli
, (Wed May 7, 10:20 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Pekka Enberg
, (Wed May 7, 10:27 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Pekka Enberg
, (Wed May 7, 10:30 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Andrea Arcangeli
, (Wed May 7, 10:49 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Linus Torvalds
, (Thu May 8, 8:03 am)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Linus Torvalds
, (Thu May 8, 9:11 am)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Andrea Arcangeli
, (Thu May 8, 3:01 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Peter Zijlstra
, (Fri May 9, 11:37 am)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Andrea Arcangeli
, (Fri May 9, 11:55 am)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Peter Zijlstra
, (Fri May 9, 12:04 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Nick Piggin
, (Tue May 13, 5:06 am)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Nick Piggin
, (Tue May 13, 5:14 am)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Robin Holt
, (Tue May 13, 8:32 am)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Nick Piggin
, (Tue May 13, 9:11 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Benjamin Herrenschmidt
, (Tue May 13, 10:43 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Nick Piggin
, (Tue May 13, 11:06 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Robin Holt
, (Wed May 14, 4:26 am)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Jack Steiner
, (Wed May 14, 6:15 am)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Linus Torvalds
, (Wed May 14, 8:18 am)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Robin Holt
, (Wed May 14, 9:22 am)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Linus Torvalds
, (Wed May 14, 9:56 am)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Christoph Lameter
, (Wed May 14, 10:57 am)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Linus Torvalds
, (Wed May 14, 11:27 am)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Nick Piggin
, (Thu May 15, 12:57 am)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Robin Holt
, (Thu May 15, 4:01 am)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Avi Kivity
, (Thu May 15, 4:12 am)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Christoph Lameter
, (Thu May 15, 10:33 am)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Nick Piggin
, (Thu May 15, 4:52 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Robin Holt
, (Fri May 16, 4:23 am)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Robin Holt
, (Fri May 16, 4:50 am)
mm notifier: Notifications when pages are unmapped.
, Christoph Lameter
, (Fri May 16, 6:38 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Nick Piggin
, (Mon May 19, 10:31 pm)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Robin Holt
, (Tue May 20, 3:01 am)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Nick Piggin
, (Tue May 20, 3:50 am)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Robin Holt
, (Tue May 20, 4:05 am)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Nick Piggin
, (Tue May 20, 4:14 am)
Re: [PATCH 08 of 11] anon-vma-rwsem
, Robin Holt
, (Tue May 20, 4:26 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Jesse Barnes
Re: [stable] [BUG][PATCH] cpqphp: fix kernel NULL pointer dereference
Greg KH
[003/136] p54usb: add Zcomax XG-705A usbid
Magnus Damm
[PATCH 03/07] ARM: Use shared GIC entry macros on Realview
Oliver Neukum
Re: [Bug #13682] The webcam stopped working when upgrading from 2.6.29 to 2.6.30
Martin Schwidefsky
Re: [PATCH] optimized ktime_get[_ts] for GENERIC_TIME=y
git
:
Junio C Hamano
Re: Some advanced index playing
Jeff King
Re: confusion over the new branch and merge config
Robin Rosenberg
Re: cvs2svn conversion directly to git ready for experimentation
Linus Torvalds
git binary size...
Ævar Arnfjörð Bjarmason
Re: Challenge with Git-Bash
git-commits-head
:
Linux Kernel Mailing List
md: move allocation of ->queue from mddev_find to md_probe
Linux Kernel Mailing List
md: raid0: Represent zone->zone_offset in sectors.
Linux Kernel Mailing List
[ARM] S3C24XX: Add gpio_to_irq() facility
Linux Kernel Mailing List
md: raid0_make_request(): Replace local variable block by sector.
Linux Kernel Mailing List
md: Allow md devices to be created by name.
linux-netdev
:
kaber
[PATCH 07/12] netfilter: xtables: change hotdrop pointer to direct modification
Gerrit Renker
[PATCH 3/5] dccp ccid-2: Remove redundant sanity tests
David Miller
Re: [PATCH net-next-2.6] pcnet32: Remove redundant set of skb->dev
Gerrit Renker
[PATCH 4/5] dccp ccid-2: Simplify dec_pipe and rearming of RTO timer
Saikiran Madugula
[PATCH] Allow fragmentation of VLAN packets traversing a