2012/12/3 Dan Carpenter :
> On Mon, Dec 03, 2012 at 09:09:59AM +0900, JoonSoo Kim wrote:
>> Hello, Dan.
>>
>> 2012/12/2 Dan Carpenter :
>> > On Sat, Dec 01, 2012 at 02:45:57AM +0900, Joonsoo Kim wrote:
>> >> @@ -614,21 +616,35 @@ static int ashmem_pin_unpin(struct ashmem_area
>> >> *asma,
2012/12/3 Dan Carpenter dan.carpen...@oracle.com:
On Mon, Dec 03, 2012 at 09:09:59AM +0900, JoonSoo Kim wrote:
Hello, Dan.
2012/12/2 Dan Carpenter dan.carpen...@oracle.com:
On Sat, Dec 01, 2012 at 02:45:57AM +0900, Joonsoo Kim wrote:
@@ -614,21 +616,35 @@ static int ashmem_pin_unpin(struct
On Mon, Dec 03, 2012 at 09:09:59AM +0900, JoonSoo Kim wrote:
> Hello, Dan.
>
> 2012/12/2 Dan Carpenter :
> > On Sat, Dec 01, 2012 at 02:45:57AM +0900, Joonsoo Kim wrote:
> >> @@ -614,21 +616,35 @@ static int ashmem_pin_unpin(struct ashmem_area
> >> *asma, unsigned long cmd,
> >> pgstart =
Hello, Dan.
2012/12/2 Dan Carpenter :
> On Sat, Dec 01, 2012 at 02:45:57AM +0900, Joonsoo Kim wrote:
>> @@ -614,21 +616,35 @@ static int ashmem_pin_unpin(struct ashmem_area *asma,
>> unsigned long cmd,
>> pgstart = pin.offset / PAGE_SIZE;
>> pgend = pgstart + (pin.len / PAGE_SIZE) -
Hello, Dan.
2012/12/2 Dan Carpenter dan.carpen...@oracle.com:
On Sat, Dec 01, 2012 at 02:45:57AM +0900, Joonsoo Kim wrote:
@@ -614,21 +616,35 @@ static int ashmem_pin_unpin(struct ashmem_area *asma,
unsigned long cmd,
pgstart = pin.offset / PAGE_SIZE;
pgend = pgstart + (pin.len
On Mon, Dec 03, 2012 at 09:09:59AM +0900, JoonSoo Kim wrote:
Hello, Dan.
2012/12/2 Dan Carpenter dan.carpen...@oracle.com:
On Sat, Dec 01, 2012 at 02:45:57AM +0900, Joonsoo Kim wrote:
@@ -614,21 +616,35 @@ static int ashmem_pin_unpin(struct ashmem_area
*asma, unsigned long cmd,
On Sat, Dec 01, 2012 at 02:45:57AM +0900, Joonsoo Kim wrote:
> @@ -614,21 +616,35 @@ static int ashmem_pin_unpin(struct ashmem_area *asma,
> unsigned long cmd,
> pgstart = pin.offset / PAGE_SIZE;
> pgend = pgstart + (pin.len / PAGE_SIZE) - 1;
>
> - mutex_lock(_mutex);
> + if
On Sat, Dec 01, 2012 at 02:45:57AM +0900, Joonsoo Kim wrote:
@@ -614,21 +616,35 @@ static int ashmem_pin_unpin(struct ashmem_area *asma,
unsigned long cmd,
pgstart = pin.offset / PAGE_SIZE;
pgend = pgstart + (pin.len / PAGE_SIZE) - 1;
- mutex_lock(ashmem_mutex);
+ if
Private mapped ashmem doesn't install vm fault handler.
So, do_anonymous_page is called for handling fault in handle_pte_fault().
This type of backed memory isn't related to asma->file which is used by
ashmem shrinker. Shrinking unpinned area for this mapping
will not shrink memory actually.
Private mapped ashmem doesn't install vm fault handler.
So, do_anonymous_page is called for handling fault in handle_pte_fault().
This type of backed memory isn't related to asma-file which is used by
ashmem shrinker. Shrinking unpinned area for this mapping
will not shrink memory actually.
10 matches
Mail list logo