* [PATCH] mm: Fix alloc_vm_area for noMMU system
@ 2011-11-16 7:51 Michal Simek
2011-11-16 13:59 ` Konrad Rzeszutek Wilk
2011-11-16 14:11 ` Konrad Rzeszutek Wilk
0 siblings, 2 replies; 7+ messages in thread
From: Michal Simek @ 2011-11-16 7:51 UTC (permalink / raw)
To: linux-next
Cc: sfr, Michal Simek, David Vrabel, Andrew Morton,
Konrad Rzeszutek Wilk
Patch:
"xen: map foreign pages for shared rings by updating the PTEs directly"
(sha1: 5149c0d53f6959d6ab87b4702d544b17ebdc783e) changed number
of argument for alloc_vm_area but forget to change it for noMMU systems.
This patch fix it.
CC: David Vrabel <david.vrabel@citrix.com>
CC: Andrew Morton <akpm@linux-foundation.org>
CC: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>
---
It is for linux-next tree.
Michal
---
mm/nommu.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/mm/nommu.c b/mm/nommu.c
index 73419c5..b982290 100644
--- a/mm/nommu.c
+++ b/mm/nommu.c
@@ -454,7 +454,7 @@ void __attribute__((weak)) vmalloc_sync_all(void)
* between processes, it syncs the pagetable across all
* processes.
*/
-struct vm_struct *alloc_vm_area(size_t size)
+struct vm_struct *alloc_vm_area(size_t size, pte_t **ptes)
{
BUG();
return NULL;
--
1.7.5.4
^ permalink raw reply related [flat|nested] 7+ messages in thread* Re: [PATCH] mm: Fix alloc_vm_area for noMMU system
2011-11-16 7:51 [PATCH] mm: Fix alloc_vm_area for noMMU system Michal Simek
@ 2011-11-16 13:59 ` Konrad Rzeszutek Wilk
2011-11-16 14:01 ` David Vrabel
2011-11-16 14:11 ` Konrad Rzeszutek Wilk
1 sibling, 1 reply; 7+ messages in thread
From: Konrad Rzeszutek Wilk @ 2011-11-16 13:59 UTC (permalink / raw)
To: Michal Simek; +Cc: linux-next, sfr, David Vrabel, Andrew Morton
On Wed, Nov 16, 2011 at 08:51:02AM +0100, Michal Simek wrote:
> Patch:
> "xen: map foreign pages for shared rings by updating the PTEs directly"
> (sha1: 5149c0d53f6959d6ab87b4702d544b17ebdc783e) changed number
> of argument for alloc_vm_area but forget to change it for noMMU systems.
> This patch fix it.
Duh!
>
> CC: David Vrabel <david.vrabel@citrix.com>
> CC: Andrew Morton <akpm@linux-foundation.org>
> CC: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Yes, please. Thank you!
> Signed-off-by: Michal Simek <monstr@monstr.eu>
>
> ---
> It is for linux-next tree.
>
> Michal
> ---
> mm/nommu.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/mm/nommu.c b/mm/nommu.c
> index 73419c5..b982290 100644
> --- a/mm/nommu.c
> +++ b/mm/nommu.c
> @@ -454,7 +454,7 @@ void __attribute__((weak)) vmalloc_sync_all(void)
> * between processes, it syncs the pagetable across all
> * processes.
> */
> -struct vm_struct *alloc_vm_area(size_t size)
> +struct vm_struct *alloc_vm_area(size_t size, pte_t **ptes)
> {
> BUG();
> return NULL;
> --
> 1.7.5.4
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH] mm: Fix alloc_vm_area for noMMU system
2011-11-16 13:59 ` Konrad Rzeszutek Wilk
@ 2011-11-16 14:01 ` David Vrabel
2011-11-16 14:18 ` Konrad Rzeszutek Wilk
0 siblings, 1 reply; 7+ messages in thread
From: David Vrabel @ 2011-11-16 14:01 UTC (permalink / raw)
To: Konrad Rzeszutek Wilk
Cc: Michal Simek, linux-next@vger.kernel.org, sfr@canb.auug.org.au,
Andrew Morton
On 16/11/11 13:59, Konrad Rzeszutek Wilk wrote:
> On Wed, Nov 16, 2011 at 08:51:02AM +0100, Michal Simek wrote:
>> Patch:
>> "xen: map foreign pages for shared rings by updating the PTEs directly"
>> (sha1: 5149c0d53f6959d6ab87b4702d544b17ebdc783e) changed number
>> of argument for alloc_vm_area but forget to change it for noMMU systems.
>> This patch fix it.
>
> Duh!
>>
>> CC: David Vrabel <david.vrabel@citrix.com>
>> CC: Andrew Morton <akpm@linux-foundation.org>
>> CC: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
>
> Yes, please. Thank you!
Konrad, I would suggest folding this into the original patch to avoid
breaking bisects for noMMU users unnecessarily.
David
>> Signed-off-by: Michal Simek <monstr@monstr.eu>
>>
>> ---
>> It is for linux-next tree.
>>
>> Michal
>> ---
>> mm/nommu.c | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/mm/nommu.c b/mm/nommu.c
>> index 73419c5..b982290 100644
>> --- a/mm/nommu.c
>> +++ b/mm/nommu.c
>> @@ -454,7 +454,7 @@ void __attribute__((weak)) vmalloc_sync_all(void)
>> * between processes, it syncs the pagetable across all
>> * processes.
>> */
>> -struct vm_struct *alloc_vm_area(size_t size)
>> +struct vm_struct *alloc_vm_area(size_t size, pte_t **ptes)
>> {
>> BUG();
>> return NULL;
>> --
>> 1.7.5.4
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH] mm: Fix alloc_vm_area for noMMU system
2011-11-16 14:01 ` David Vrabel
@ 2011-11-16 14:18 ` Konrad Rzeszutek Wilk
2011-11-16 14:25 ` Michal Simek
0 siblings, 1 reply; 7+ messages in thread
From: Konrad Rzeszutek Wilk @ 2011-11-16 14:18 UTC (permalink / raw)
To: David Vrabel
Cc: Michal Simek, linux-next@vger.kernel.org, sfr@canb.auug.org.au,
Andrew Morton
On Wed, Nov 16, 2011 at 02:01:28PM +0000, David Vrabel wrote:
> On 16/11/11 13:59, Konrad Rzeszutek Wilk wrote:
> > On Wed, Nov 16, 2011 at 08:51:02AM +0100, Michal Simek wrote:
> >> Patch:
> >> "xen: map foreign pages for shared rings by updating the PTEs directly"
> >> (sha1: 5149c0d53f6959d6ab87b4702d544b17ebdc783e) changed number
> >> of argument for alloc_vm_area but forget to change it for noMMU systems.
> >> This patch fix it.
> >
> > Duh!
> >>
> >> CC: David Vrabel <david.vrabel@citrix.com>
> >> CC: Andrew Morton <akpm@linux-foundation.org>
> >> CC: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
> >
> > Yes, please. Thank you!
>
> Konrad, I would suggest folding this into the original patch to avoid
> breaking bisects for noMMU users unnecessarily.
Can't do. We would lose Michal authership that way and that is not good.
>
> David
>
> >> Signed-off-by: Michal Simek <monstr@monstr.eu>
> >>
> >> ---
> >> It is for linux-next tree.
> >>
> >> Michal
> >> ---
> >> mm/nommu.c | 2 +-
> >> 1 files changed, 1 insertions(+), 1 deletions(-)
> >>
> >> diff --git a/mm/nommu.c b/mm/nommu.c
> >> index 73419c5..b982290 100644
> >> --- a/mm/nommu.c
> >> +++ b/mm/nommu.c
> >> @@ -454,7 +454,7 @@ void __attribute__((weak)) vmalloc_sync_all(void)
> >> * between processes, it syncs the pagetable across all
> >> * processes.
> >> */
> >> -struct vm_struct *alloc_vm_area(size_t size)
> >> +struct vm_struct *alloc_vm_area(size_t size, pte_t **ptes)
> >> {
> >> BUG();
> >> return NULL;
> >> --
> >> 1.7.5.4
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-next" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH] mm: Fix alloc_vm_area for noMMU system
2011-11-16 14:18 ` Konrad Rzeszutek Wilk
@ 2011-11-16 14:25 ` Michal Simek
2011-11-16 15:32 ` Konrad Rzeszutek Wilk
0 siblings, 1 reply; 7+ messages in thread
From: Michal Simek @ 2011-11-16 14:25 UTC (permalink / raw)
To: Konrad Rzeszutek Wilk
Cc: David Vrabel, linux-next@vger.kernel.org, sfr@canb.auug.org.au,
Andrew Morton
Konrad Rzeszutek Wilk wrote:
> On Wed, Nov 16, 2011 at 02:01:28PM +0000, David Vrabel wrote:
>> On 16/11/11 13:59, Konrad Rzeszutek Wilk wrote:
>>> On Wed, Nov 16, 2011 at 08:51:02AM +0100, Michal Simek wrote:
>>>> Patch:
>>>> "xen: map foreign pages for shared rings by updating the PTEs directly"
>>>> (sha1: 5149c0d53f6959d6ab87b4702d544b17ebdc783e) changed number
>>>> of argument for alloc_vm_area but forget to change it for noMMU systems.
>>>> This patch fix it.
>>> Duh!
>>>> CC: David Vrabel <david.vrabel@citrix.com>
>>>> CC: Andrew Morton <akpm@linux-foundation.org>
>>>> CC: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
>>> Yes, please. Thank you!
>> Konrad, I would suggest folding this into the original patch to avoid
>> breaking bisects for noMMU users unnecessarily.
>
> Can't do. We would lose Michal authership that way and that is not good.
>
Do it in way you like and it is the best for others. Not sure where exactly your patch
is and it is hard to suggest you how to do it in connection to your merging strategy
Anyway you can add my signed-off-by line to origin patch or keep it single patch
Thanks,
Michal
--
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] mm: Fix alloc_vm_area for noMMU system
2011-11-16 14:25 ` Michal Simek
@ 2011-11-16 15:32 ` Konrad Rzeszutek Wilk
0 siblings, 0 replies; 7+ messages in thread
From: Konrad Rzeszutek Wilk @ 2011-11-16 15:32 UTC (permalink / raw)
To: Michal Simek
Cc: David Vrabel, linux-next@vger.kernel.org, sfr@canb.auug.org.au,
Andrew Morton
On Wed, Nov 16, 2011 at 03:25:30PM +0100, Michal Simek wrote:
> Konrad Rzeszutek Wilk wrote:
> >On Wed, Nov 16, 2011 at 02:01:28PM +0000, David Vrabel wrote:
> >>On 16/11/11 13:59, Konrad Rzeszutek Wilk wrote:
> >>>On Wed, Nov 16, 2011 at 08:51:02AM +0100, Michal Simek wrote:
> >>>>Patch:
> >>>>"xen: map foreign pages for shared rings by updating the PTEs directly"
> >>>>(sha1: 5149c0d53f6959d6ab87b4702d544b17ebdc783e) changed number
> >>>>of argument for alloc_vm_area but forget to change it for noMMU systems.
> >>>>This patch fix it.
> >>>Duh!
> >>>>CC: David Vrabel <david.vrabel@citrix.com>
> >>>>CC: Andrew Morton <akpm@linux-foundation.org>
> >>>>CC: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
> >>>Yes, please. Thank you!
> >>Konrad, I would suggest folding this into the original patch to avoid
> >>breaking bisects for noMMU users unnecessarily.
> >
> >Can't do. We would lose Michal authership that way and that is not good.
> >
>
> Do it in way you like and it is the best for others. Not sure where exactly your patch
That is very nice of you!
> is and it is hard to suggest you how to do it in connection to your merging strategy
> Anyway you can add my signed-off-by line to origin patch or keep it single patch
Ok. That certainly makes it easier and it does not break the git bisection.
Will do! Thank you.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] mm: Fix alloc_vm_area for noMMU system
2011-11-16 7:51 [PATCH] mm: Fix alloc_vm_area for noMMU system Michal Simek
2011-11-16 13:59 ` Konrad Rzeszutek Wilk
@ 2011-11-16 14:11 ` Konrad Rzeszutek Wilk
1 sibling, 0 replies; 7+ messages in thread
From: Konrad Rzeszutek Wilk @ 2011-11-16 14:11 UTC (permalink / raw)
To: Michal Simek; +Cc: linux-next, sfr, David Vrabel, Andrew Morton
On Wed, Nov 16, 2011 at 08:51:02AM +0100, Michal Simek wrote:
> Patch:
> "xen: map foreign pages for shared rings by updating the PTEs directly"
> (sha1: 5149c0d53f6959d6ab87b4702d544b17ebdc783e) changed number
> of argument for alloc_vm_area but forget to change it for noMMU systems.
> This patch fix it.
>
> CC: David Vrabel <david.vrabel@citrix.com>
> CC: Andrew Morton <akpm@linux-foundation.org>
Andrew, I was thinking to send that "xen: map foreign pages.." to Linus
at some point.
Is it OK if I have your Ack on this patch and stick this with the
mentioned patch in my queue?
> CC: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
> Signed-off-by: Michal Simek <monstr@monstr.eu>
>
> ---
> It is for linux-next tree.
>
> Michal
> ---
> mm/nommu.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/mm/nommu.c b/mm/nommu.c
> index 73419c5..b982290 100644
> --- a/mm/nommu.c
> +++ b/mm/nommu.c
> @@ -454,7 +454,7 @@ void __attribute__((weak)) vmalloc_sync_all(void)
> * between processes, it syncs the pagetable across all
> * processes.
> */
> -struct vm_struct *alloc_vm_area(size_t size)
> +struct vm_struct *alloc_vm_area(size_t size, pte_t **ptes)
> {
> BUG();
> return NULL;
> --
> 1.7.5.4
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-next" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-11-16 15:32 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-16 7:51 [PATCH] mm: Fix alloc_vm_area for noMMU system Michal Simek
2011-11-16 13:59 ` Konrad Rzeszutek Wilk
2011-11-16 14:01 ` David Vrabel
2011-11-16 14:18 ` Konrad Rzeszutek Wilk
2011-11-16 14:25 ` Michal Simek
2011-11-16 15:32 ` Konrad Rzeszutek Wilk
2011-11-16 14:11 ` Konrad Rzeszutek Wilk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).