Re: [PATCH v2] tty: n_tty: use kvzalloc/kvfree for line discipline data
Jiri Slaby <[email protected]>
| Newsgroups | gmane.linux.serial,gmane.linux.kernel,gmane.linux.kernel.stable |
|---|---|
| Message-ID | <[email protected]> |
On 18. 08. 26, 9:03, Xin Chen wrote: > Replace vzalloc/vfree with kvzalloc_obj/kvfree. kvzalloc_obj() tries > kmalloc first and falls back to vmalloc only on failure. The > ~10 KB n_tty_data is served from the kmalloc-16384 slab (backed > by an order-2 compound page), leaving the order-0 free list intact > for the subsequent skb_clone() calls. Switching from order-0 to order-2? If you ran out of vmspace on some 32bit platform, perhaps. But you apparently did not. So all this feels odd. NACK thanks, -- js suse labs