lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7259897e.9f89.196c958e24d.Coremail.00107082@163.com>
Date: Tue, 13 May 2025 19:12:47 +0800 (CST)
From: "David Wang" <00107082@....com>
To: "Oliver Neukum" <oneukum@...e.com>
Cc: mathias.nyman@...el.com, gregkh@...uxfoundation.org,
	stern@...land.harvard.edu, surenb@...gle.com,
	kent.overstreet@...ux.dev, linux-usb@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] USB: core: add a memory pool to urb for
 host-controller private data


At 2025-05-13 19:02:42, "Oliver Neukum" <oneukum@...e.com> wrote:
>
>
>On 13.05.25 11:49, David Wang wrote:
>
>> Hi, I have one question about mem flags.
>> If usb_submit_urb wants a memory in context of flags A, say GFP_ATOMIC, but I already have a memory alloc with  flags B  and its size
>> is big enough,  is it safe to return this memory  to usb_submit_urb  which is in the context of flags A?
>
>Yes, that is perfectly safe.
>
>	HTH
>		Oliver



Copy that~


Thanks
David

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ