Re: [PATCH v1] tty: n_tty: use kvzalloc/kvfree for line discipline data
From: Xin Chen
Date: Mon Aug 17 2026 - 23:15:06 EST
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