Re: Allow migration of mlocked page?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2012-05-11 at 13:37 +0900, Minchan Kim wrote:
> I hope hear opinion from rt guys, too.

Its a problem yes, not sure your solution is any good though. As it
stands mlock() simply doesn't guarantee no faults, all it does is
guarantee no major faults.

Are you saying compaction doesn't actually move mlocked pages? I'm
somewhat surprised by that, I've always assumed it would.

Its sad that mlock() doesn't take a flags argument, so I'd rather
introduce a new madvise() flag for -rt, something like MADV_UNMOVABLE
(or whatever) which will basically copy the pages to an un-movable page
block and really pin the things.

That way mlock() can stay what the spec says it is and guarantee
residency.



--
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/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]