Re: [PATCH 1/5] vrange: Add vrange syscall and handle splitting/merging and marking vmas

2014-04-08 Thread John Stultz
Hey Kosaki-san, Sorry to not have replied to this earlier, I really appreciate your review! I'm now running through your feedback to make sure its all integrated into my upcoming v13 patch series, and while most of your comments have been addressed there are a few items outstanding, which I

Re: [PATCH 1/5] vrange: Add vrange syscall and handle splitting/merging and marking vmas

2014-04-08 Thread John Stultz
Hey Kosaki-san, Sorry to not have replied to this earlier, I really appreciate your review! I'm now running through your feedback to make sure its all integrated into my upcoming v13 patch series, and while most of your comments have been addressed there are a few items outstanding, which I

Re: [PATCH 1/5] vrange: Add vrange syscall and handle splitting/merging and marking vmas

2014-03-23 Thread John Stultz
On Sun, Mar 23, 2014 at 5:20 AM, Jan Kara wrote: > On Fri 21-03-14 14:17:31, John Stultz wrote: >> RETURN VALUE >> On success vrange returns the number of bytes marked or unmarked. >> Similar to write(), it may return fewer bytes then specified >> if it ran into a problem. >> >>

Re: [PATCH 1/5] vrange: Add vrange syscall and handle splitting/merging and marking vmas

2014-03-23 Thread KOSAKI Motohiro
Hi On Fri, Mar 21, 2014 at 2:17 PM, John Stultz wrote: > This patch introduces the vrange() syscall, which allows for specifying > ranges of memory as volatile, and able to be discarded by the system. > > This initial patch simply adds the syscall, and the vma handling, > splitting and merging

Re: [PATCH 1/5] vrange: Add vrange syscall and handle splitting/merging and marking vmas

2014-03-23 Thread Jan Kara
On Fri 21-03-14 14:17:31, John Stultz wrote: > This patch introduces the vrange() syscall, which allows for specifying > ranges of memory as volatile, and able to be discarded by the system. > > This initial patch simply adds the syscall, and the vma handling, > splitting and merging the vmas as

Re: [PATCH 1/5] vrange: Add vrange syscall and handle splitting/merging and marking vmas

2014-03-23 Thread Jan Kara
On Fri 21-03-14 14:17:31, John Stultz wrote: This patch introduces the vrange() syscall, which allows for specifying ranges of memory as volatile, and able to be discarded by the system. This initial patch simply adds the syscall, and the vma handling, splitting and merging the vmas as

Re: [PATCH 1/5] vrange: Add vrange syscall and handle splitting/merging and marking vmas

2014-03-23 Thread KOSAKI Motohiro
Hi On Fri, Mar 21, 2014 at 2:17 PM, John Stultz john.stu...@linaro.org wrote: This patch introduces the vrange() syscall, which allows for specifying ranges of memory as volatile, and able to be discarded by the system. This initial patch simply adds the syscall, and the vma handling,

Re: [PATCH 1/5] vrange: Add vrange syscall and handle splitting/merging and marking vmas

2014-03-23 Thread John Stultz
On Sun, Mar 23, 2014 at 5:20 AM, Jan Kara j...@suse.cz wrote: On Fri 21-03-14 14:17:31, John Stultz wrote: RETURN VALUE On success vrange returns the number of bytes marked or unmarked. Similar to write(), it may return fewer bytes then specified if it ran into a problem.

[PATCH 1/5] vrange: Add vrange syscall and handle splitting/merging and marking vmas

2014-03-21 Thread John Stultz
This patch introduces the vrange() syscall, which allows for specifying ranges of memory as volatile, and able to be discarded by the system. This initial patch simply adds the syscall, and the vma handling, splitting and merging the vmas as needed, and marking them with VM_VOLATILE. No purging

[PATCH 1/5] vrange: Add vrange syscall and handle splitting/merging and marking vmas

2014-03-21 Thread John Stultz
This patch introduces the vrange() syscall, which allows for specifying ranges of memory as volatile, and able to be discarded by the system. This initial patch simply adds the syscall, and the vma handling, splitting and merging the vmas as needed, and marking them with VM_VOLATILE. No purging