Re: [PATCH v1] tty: n_tty: use kvzalloc/kvfree for line discipline data

Xin Chen <[email protected]>
Newsgroups org.kernel.vger.linux-serial,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On 8/17/2026 10:14 PM, Greg KH wrote:
> What do you mean "target kernel"?  This is for 7.3-final, right?

Sorry for the confusion. This patch is based on linux-next 7.2.0-rc7,
targeting 7.2-final (or 7.3 if the merge window has already closed).
The wording "target kernel" was poor; what I meant is that
kvzalloc(sizeof(*ldata), GFP_KERNEL) is used intentionally to keep
this patch cleanly backportable to kernels older than v6.6 where
kvzalloc_obj() is not yet available.

Thanks,
Xin Chen
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.