Message ID | 20230121071051.1143058-6-hch@lst.de (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [01/10] mm: reject vmap with VM_FLUSH_RESET_PERMS | expand |
On 21.01.23 08:10, Christoph Hellwig wrote: > This adds an extra, never taken, in_interrupt() branch, but will allow > to cut down the maze of vfree helpers. > > Reviewed-by: Christoph Hellwig <hch@lst.de> Self-review? :) I assume that was supposed to be a Signed-off-by ... > Reviewed-by: Uladzislau Rezki (Sony) <urezki@gmail.com> > --- Reviewed-by: David Hildenbrand <david@redhat.com>
On Mon, Jan 23, 2023 at 11:38:46AM +0100, David Hildenbrand wrote: > On 21.01.23 08:10, Christoph Hellwig wrote: >> This adds an extra, never taken, in_interrupt() branch, but will allow >> to cut down the maze of vfree helpers. >> >> Reviewed-by: Christoph Hellwig <hch@lst.de> > > Self-review? :) I assume that was supposed to be a Signed-off-by ... Yes, this should be a singoff: Signed-off-by: Christoph Hellwig <hch@lst.de>
diff --git a/mm/vmalloc.c b/mm/vmalloc.c index daeb28b54663d5..3c07520b8b821b 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -2722,7 +2722,7 @@ static void delayed_vfree_work(struct work_struct *w) struct llist_node *t, *llnode; llist_for_each_safe(llnode, t, llist_del_all(&p->list)) - __vunmap((void *)llnode, 1); + vfree(llnode); } /**