Re: [PATCH 4/4] mm/vmalloc: remove vfree_atomic()

2017-04-04 Thread Michal Hocko
On Thu 30-03-17 13:27:19, Andrey Ryabinin wrote: > vfree() can be used in any atomic context and there is no > vfree_atomic() callers left, so let's remove it. > > This reverts commit bf22e37a6413 ("mm: add vfree_atomic()") > > Signed-off-by: Andrey Ryabinin the idea

Re: [PATCH 4/4] mm/vmalloc: remove vfree_atomic()

2017-04-04 Thread Michal Hocko
On Thu 30-03-17 13:27:19, Andrey Ryabinin wrote: > vfree() can be used in any atomic context and there is no > vfree_atomic() callers left, so let's remove it. > > This reverts commit bf22e37a6413 ("mm: add vfree_atomic()") > > Signed-off-by: Andrey Ryabinin the idea was nice but reality hits

Re: [PATCH 4/4] mm/vmalloc: remove vfree_atomic()

2017-03-30 Thread Andrey Ryabinin
On 03/30/2017 08:18 PM, Matthew Wilcox wrote: > On Thu, Mar 30, 2017 at 01:27:19PM +0300, Andrey Ryabinin wrote: >> vfree() can be used in any atomic context and there is no >> vfree_atomic() callers left, so let's remove it. > > We might still get warnings though. > >> @@ -1588,9 +1556,11 @@

Re: [PATCH 4/4] mm/vmalloc: remove vfree_atomic()

2017-03-30 Thread Andrey Ryabinin
On 03/30/2017 08:18 PM, Matthew Wilcox wrote: > On Thu, Mar 30, 2017 at 01:27:19PM +0300, Andrey Ryabinin wrote: >> vfree() can be used in any atomic context and there is no >> vfree_atomic() callers left, so let's remove it. > > We might still get warnings though. > >> @@ -1588,9 +1556,11 @@

Re: [PATCH 4/4] mm/vmalloc: remove vfree_atomic()

2017-03-30 Thread Matthew Wilcox
On Thu, Mar 30, 2017 at 01:27:19PM +0300, Andrey Ryabinin wrote: > vfree() can be used in any atomic context and there is no > vfree_atomic() callers left, so let's remove it. We might still get warnings though. > @@ -1588,9 +1556,11 @@ void vfree(const void *addr) > > if (!addr) >

Re: [PATCH 4/4] mm/vmalloc: remove vfree_atomic()

2017-03-30 Thread Matthew Wilcox
On Thu, Mar 30, 2017 at 01:27:19PM +0300, Andrey Ryabinin wrote: > vfree() can be used in any atomic context and there is no > vfree_atomic() callers left, so let's remove it. We might still get warnings though. > @@ -1588,9 +1556,11 @@ void vfree(const void *addr) > > if (!addr) >

[PATCH 4/4] mm/vmalloc: remove vfree_atomic()

2017-03-30 Thread Andrey Ryabinin
vfree() can be used in any atomic context and there is no vfree_atomic() callers left, so let's remove it. This reverts commit bf22e37a6413 ("mm: add vfree_atomic()") Signed-off-by: Andrey Ryabinin --- include/linux/vmalloc.h | 1 - mm/vmalloc.c| 40

[PATCH 4/4] mm/vmalloc: remove vfree_atomic()

2017-03-30 Thread Andrey Ryabinin
vfree() can be used in any atomic context and there is no vfree_atomic() callers left, so let's remove it. This reverts commit bf22e37a6413 ("mm: add vfree_atomic()") Signed-off-by: Andrey Ryabinin --- include/linux/vmalloc.h | 1 - mm/vmalloc.c| 40