Re: [PATCH] Documentation: DMA-API: Clarify semantics of dma_set_mask_and_coherent

2016-10-24 Thread Punit Agrawal
Jonathan Corbet <cor...@lwn.net> writes: > On Mon, 17 Oct 2016 16:26:23 +0100 > Punit Agrawal <punit.agra...@arm.com> wrote: > >> The dma mapping api howto gives the impression that using the >> dma_set_mask_and_coherent (and related DMA APIs) will cause the kern

Re: [PATCH] Documentation: DMA-API: Clarify semantics of dma_set_mask_and_coherent

2016-10-24 Thread Punit Agrawal
Joerg Roedel <j...@8bytes.org> writes: > On Fri, Oct 21, 2016 at 03:09:16PM -0600, Jonathan Corbet wrote: >> On Mon, 17 Oct 2016 16:26:23 +0100 >> Punit Agrawal <punit.agra...@arm.com> wrote: >> >> > The dma mapping api howto gives the impression tha

[PATCH] Documentation: DMA-API: Clarify semantics of dma_set_mask_and_coherent

2016-10-17 Thread Punit Agrawal
. Signed-off-by: Punit Agrawal <punit.agra...@arm.com> Cc: Jonathan Corbet <cor...@lwn.net> --- Documentation/DMA-API-HOWTO.txt | 39 +++ 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/Documentation/DMA-API-HOWTO.txt b/Documentation/DMA-A

Re: [PATCH v2 3/7] memcg: use compound_order rather than hpage_nr_pages

2018-05-21 Thread Punit Agrawal
TSUKADA Koutaro <tsuk...@ascade.co.jp> writes: > On 2018/05/19 2:51, Punit Agrawal wrote: >> Punit Agrawal <punit.agra...@arm.com> writes: >> >>> Tsukada-san, >>> >>> I am not familiar with memcg so can't comment about whether the patch

Re: [PATCH v2 0/7] mm: pages for hugetlb's overcommit may be able to charge to memcg

2018-05-21 Thread Punit Agrawal
Hi Tsukada, I was staring at memcg code to better understand your changes and had the below thought. TSUKADA Koutaro writes: [...] > In this patch-set, introduce the charge_surplus_huge_pages(boolean) to > struct hstate. If it is true, it charges to the memory cgroup to

Re: [PATCH v2 3/7] memcg: use compound_order rather than hpage_nr_pages

2018-05-18 Thread Punit Agrawal
Punit Agrawal <punit.agra...@arm.com> writes: > Tsukada-san, > > I am not familiar with memcg so can't comment about whether the patchset > is the right way to solve the problem outlined in the cover letter but > had a couple of comments about this patch. > > TSUKADA Ko

Re: [PATCH v2 3/7] memcg: use compound_order rather than hpage_nr_pages

2018-05-18 Thread Punit Agrawal
Tsukada-san, I am not familiar with memcg so can't comment about whether the patchset is the right way to solve the problem outlined in the cover letter but had a couple of comments about this patch. TSUKADA Koutaro writes: > The current memcg implementation assumes that