Re: [PATCH v3 38/41] powerpc: convert put_page() to put_user_page*()

2019-08-09 Thread Michael Ellerman
John Hubbard writes: > On 8/7/19 10:42 PM, Michael Ellerman wrote: >> Hi John, >> >> john.hubb...@gmail.com writes: >>> diff --git a/arch/powerpc/mm/book3s64/iommu_api.c >>> b/arch/powerpc/mm/book3s64/iommu_api.c >>> index b056cae3388b..e12619

Re: [PATCH v3 38/41] powerpc: convert put_page() to put_user_page*()

2019-08-07 Thread Michael Ellerman
Hi John, john.hubb...@gmail.com writes: > diff --git a/arch/powerpc/mm/book3s64/iommu_api.c > b/arch/powerpc/mm/book3s64/iommu_api.c > index b056cae3388b..e126193ba295 100644 > --- a/arch/powerpc/mm/book3s64/iommu_api.c > +++ b/arch/powerpc/mm/book3s64/iommu_api.c > @@ -203,6 +202,7 @@ static

Re: [PATCH 08/29] drivers, md: convert mddev.active from atomic_t to refcount_t

2017-03-14 Thread Michael Ellerman
Elena Reshetova writes: > refcount_t type and corresponding API should be > used instead of atomic_t when the variable is used as > a reference counter. This allows to avoid accidental > refcounter overflows that might lead to use-after-free > situations. > >

Re: [PATCH 1/7] selftest: sync: basic tests for sw_sync framework

2016-10-04 Thread Michael Ellerman
Emilio López <emilio.lo...@collabora.co.uk> writes: > Hi, > > El 27/09/16 a las 01:23, Michael Ellerman escribió: >> Emilio López <emilio.lo...@collabora.co.uk> writes: >>> El 22/09/16 a las 06:43, Michael Ellerman escribió: >>>> Em

Re: [PATCH 1/7] selftest: sync: basic tests for sw_sync framework

2016-09-26 Thread Michael Ellerman
Emilio López <emilio.lo...@collabora.co.uk> writes: > El 22/09/16 a las 06:43, Michael Ellerman escribió: >> Emilio López <emilio.lo...@collabora.co.uk> writes: >> >> Please don't include the *kernel* headers, they're really not meant to >> be used in use

Re: [PATCH 1/7] selftest: sync: basic tests for sw_sync framework

2016-09-22 Thread Michael Ellerman
Emilio López writes: > These tests are based on the libsync test suite from Android. > This commit lays the ground for future tests, as well as includes > tests for a variety of basic allocation commands. Hi Emilio, Just a few comments on the Makefile. > diff