Re: [PATCH] drm: make sure page protections are updated after changing vm_flags.

2009-10-06 Thread Jeremy Fitzhardinge
On 10/06/09 13:39, Andrew Morton wrote: > On Wed, 30 Sep 2009 15:55:39 -0700 > Jeremy Fitzhardinge wrote: > > >> Some architectures compute ->vm_page_prot depending on ->vm_flags, so >> we need to update the protections after adjusting the flags. >> >> Reported-by: Jan Beulich >> Signed-off-by

Re: [PATCH] drm: make sure page protections are updated after changing vm_flags.

2009-10-06 Thread Andrew Morton
On Wed, 30 Sep 2009 15:55:39 -0700 Jeremy Fitzhardinge wrote: > Some architectures compute ->vm_page_prot depending on ->vm_flags, so > we need to update the protections after adjusting the flags. > > Reported-by: Jan Beulich > Signed-off-by: Jeremy Fitzhardinge > > diff --git a/drivers/gpu/d

[PATCH] drm: make sure page protections are updated after changing vm_flags.

2009-10-01 Thread Jeremy Fitzhardinge
Some architectures compute ->vm_page_prot depending on ->vm_flags, so we need to update the protections after adjusting the flags. Reported-by: Jan Beulich Signed-off-by: Jeremy Fitzhardinge diff --git a/drivers/gpu/drm/drm_gem.c b/drivers/gpu/drm/drm_gem.c index 8104eca..9d3e39f 100644 --- a/d