On 09/20/2016 07:45 PM, Dave Hansen wrote:
On 09/20/2016 10:37 AM, Mike Kravetz wrote:
Their approach (I believe) would be to fail the offline operation in
this case. However, I could argue that failing the operation, or
dissolving the unused huge page containing the area to be offlined is
the right thing to do.
I think the right thing to do is dissolve the whole huge page if even a
part of it is offlined. The only question is what to do with the
gigantic remnants.
Just free them into the buddy system? Or what are the alternatives?
Creating smaller huge pages (if supported)? That doesn't make much
sense. Offline it completely? That's probably not what the user requested.
Vlastimil
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>