On 10/17/2013 03:48 PM, Robert Jennings wrote:
> * Vlastimil Babka (vba...@suse.cz) wrote:
>> On 10/07/2013 10:21 PM, Robert C Jennings wrote:
>>> Introduce use of the unused SPLICE_F_MOVE flag for vmsplice to zap
>>> pages.
>>>
>>> When vmsplice is called with flags (SPLICE_F_GIFT |
On 10/17/2013 03:48 PM, Robert Jennings wrote:
* Vlastimil Babka (vba...@suse.cz) wrote:
On 10/07/2013 10:21 PM, Robert C Jennings wrote:
Introduce use of the unused SPLICE_F_MOVE flag for vmsplice to zap
pages.
When vmsplice is called with flags (SPLICE_F_GIFT | SPLICE_F_MOVE) the
writer's
* Dave Hansen (d...@sr71.net) wrote:
> On 10/07/2013 01:21 PM, Robert C Jennings wrote:
> > spd.partial[page_nr].offset = loff;
> > spd.partial[page_nr].len = this_len;
> > + spd.partial[page_nr].useraddr = index << PAGE_CACHE_SHIFT;
> > len -=
* Vlastimil Babka (vba...@suse.cz) wrote:
> On 10/07/2013 10:21 PM, Robert C Jennings wrote:
> > Introduce use of the unused SPLICE_F_MOVE flag for vmsplice to zap
> > pages.
> >
> > When vmsplice is called with flags (SPLICE_F_GIFT | SPLICE_F_MOVE) the
> > writer's gift'ed pages would be zapped.
On 10/07/2013 10:21 PM, Robert C Jennings wrote:
> Introduce use of the unused SPLICE_F_MOVE flag for vmsplice to zap
> pages.
>
> When vmsplice is called with flags (SPLICE_F_GIFT | SPLICE_F_MOVE) the
> writer's gift'ed pages would be zapped. This patch supports further work
> to move
On 10/07/2013 10:21 PM, Robert C Jennings wrote:
Introduce use of the unused SPLICE_F_MOVE flag for vmsplice to zap
pages.
When vmsplice is called with flags (SPLICE_F_GIFT | SPLICE_F_MOVE) the
writer's gift'ed pages would be zapped. This patch supports further work
to move vmsplice'd
* Vlastimil Babka (vba...@suse.cz) wrote:
On 10/07/2013 10:21 PM, Robert C Jennings wrote:
Introduce use of the unused SPLICE_F_MOVE flag for vmsplice to zap
pages.
When vmsplice is called with flags (SPLICE_F_GIFT | SPLICE_F_MOVE) the
writer's gift'ed pages would be zapped. This
* Dave Hansen (d...@sr71.net) wrote:
On 10/07/2013 01:21 PM, Robert C Jennings wrote:
spd.partial[page_nr].offset = loff;
spd.partial[page_nr].len = this_len;
+ spd.partial[page_nr].useraddr = index PAGE_CACHE_SHIFT;
len -= this_len;
On 10/08/2013 12:48 PM, Robert Jennings wrote:
> * Dave Hansen (d...@sr71.net) wrote:
>> On 10/07/2013 01:21 PM, Robert C Jennings wrote:
>>> + } else {
>>> + if (vma)
>>> +
* Dave Hansen (d...@sr71.net) wrote:
> On 10/07/2013 01:21 PM, Robert C Jennings wrote:
> > + } else {
> > + if (vma)
> > + zap_page_range(vma,
> > +
On 10/07/2013 01:21 PM, Robert C Jennings wrote:
> spd.partial[page_nr].offset = loff;
> spd.partial[page_nr].len = this_len;
> + spd.partial[page_nr].useraddr = index << PAGE_CACHE_SHIFT;
> len -= this_len;
> loff = 0;
>
On 10/07/2013 01:21 PM, Robert C Jennings wrote:
> + } else {
> + if (vma)
> + zap_page_range(vma,
> +
On 10/07/2013 01:21 PM, Robert C Jennings wrote:
+ } else {
+ if (vma)
+ zap_page_range(vma,
+
On 10/07/2013 01:21 PM, Robert C Jennings wrote:
spd.partial[page_nr].offset = loff;
spd.partial[page_nr].len = this_len;
+ spd.partial[page_nr].useraddr = index PAGE_CACHE_SHIFT;
len -= this_len;
loff = 0;
* Dave Hansen (d...@sr71.net) wrote:
On 10/07/2013 01:21 PM, Robert C Jennings wrote:
+ } else {
+ if (vma)
+ zap_page_range(vma,
+
On 10/08/2013 12:48 PM, Robert Jennings wrote:
* Dave Hansen (d...@sr71.net) wrote:
On 10/07/2013 01:21 PM, Robert C Jennings wrote:
+ } else {
+ if (vma)
+
Introduce use of the unused SPLICE_F_MOVE flag for vmsplice to zap
pages.
When vmsplice is called with flags (SPLICE_F_GIFT | SPLICE_F_MOVE) the
writer's gift'ed pages would be zapped. This patch supports further work
to move vmsplice'd pages rather than copying them. That patch has the
Introduce use of the unused SPLICE_F_MOVE flag for vmsplice to zap
pages.
When vmsplice is called with flags (SPLICE_F_GIFT | SPLICE_F_MOVE) the
writer's gift'ed pages would be zapped. This patch supports further work
to move vmsplice'd pages rather than copying them. That patch has the
On 07/26/2013 08:16 AM, Robert Jennings wrote:
>>> > > + if ((spd->flags & SPLICE_F_MOVE) &&
>>> > > + !buf->offset && (buf->len ==
>>> > > PAGE_SIZE))
>>> > > + /* Can move page aligned buf */
* Dave Hansen (d...@sr71.net) wrote:
> On 07/25/2013 10:21 AM, Robert Jennings wrote:
> > +static void zap_buf_page(unsigned long useraddr)
> > +{
> > + struct vm_area_struct *vma;
> > +
> > + down_read(>mm->mmap_sem);
> > + vma = find_vma_intersection(current->mm, useraddr,
> > +
* Dave Hansen (d...@sr71.net) wrote:
On 07/25/2013 10:21 AM, Robert Jennings wrote:
+static void zap_buf_page(unsigned long useraddr)
+{
+ struct vm_area_struct *vma;
+
+ down_read(current-mm-mmap_sem);
+ vma = find_vma_intersection(current-mm, useraddr,
+
On 07/26/2013 08:16 AM, Robert Jennings wrote:
+ if ((spd-flags SPLICE_F_MOVE)
+ !buf-offset (buf-len ==
PAGE_SIZE))
+ /* Can move page aligned buf */
+
On 07/25/2013 10:21 AM, Robert Jennings wrote:
> +static void zap_buf_page(unsigned long useraddr)
> +{
> + struct vm_area_struct *vma;
> +
> + down_read(>mm->mmap_sem);
> + vma = find_vma_intersection(current->mm, useraddr,
> + useraddr + PAGE_SIZE);
> + if
From: Matt Helsley
Introduce use of the unused SPLICE_F_MOVE flag for vmsplice to zap
pages.
When vmsplice is called with flags (SPLICE_F_GIFT | SPLICE_F_MOVE) the
writer's gift'ed pages would be zapped. This patch supports further work
to move vmsplice'd pages rather than copying them. That
From: Matt Helsley matth...@us.ibm.com
Introduce use of the unused SPLICE_F_MOVE flag for vmsplice to zap
pages.
When vmsplice is called with flags (SPLICE_F_GIFT | SPLICE_F_MOVE) the
writer's gift'ed pages would be zapped. This patch supports further work
to move vmsplice'd pages rather than
On 07/25/2013 10:21 AM, Robert Jennings wrote:
+static void zap_buf_page(unsigned long useraddr)
+{
+ struct vm_area_struct *vma;
+
+ down_read(current-mm-mmap_sem);
+ vma = find_vma_intersection(current-mm, useraddr,
+ useraddr + PAGE_SIZE);
+ if
26 matches
Mail list logo