Re: [RFC] mm: generic adaptive large memory allocation APIs

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jiri Slaby
Date: Thursday, May 13, 2010 - 2:19 am

On 05/13/2010 11:05 AM, KOSAKI Motohiro wrote:

Sorry, I don't see what's the problem with that. I can see only that
alloc_pages_exact is superfluous there as kmalloc "won't fail" earlier.


Indeed. I didn't mean that as the users should change that. They should
only if there is some weird hardware with weird drivers.


This is possible, but the question is why to make the code more complex?


Pardon my ignorance, why? (There are more similar users:
init_section_page_cgroup, sys_add_key, ext4_fill_flex_info and many others.)

-- 
js
suse labs
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC] mm: generic adaptive large memory allocation APIs, KOSAKI Motohiro, (Wed May 12, 9:45 pm)
Re: [RFC] mm: generic adaptive large memory allocation APIs, KOSAKI Motohiro, (Thu May 13, 2:05 am)
Re: [RFC] mm: generic adaptive large memory allocation APIs, Jiri Slaby, (Thu May 13, 2:19 am)
Re: [RFC] mm: generic adaptive large memory allocation APIs, KOSAKI Motohiro, (Thu May 13, 2:40 am)
Re: [RFC] mm: generic adaptive large memory allocation APIs, KOSAKI Motohiro, (Thu May 13, 3:43 am)