User: Password:
Subscribe / Log in / New account

Reworking vmap()

Reworking vmap()

Posted Oct 30, 2008 9:19 UTC (Thu) by gat3way (guest, #47864)
Parent article: Reworking vmap()

I don't think a TLB flush is needed on a uniprocessor machine as far as vmalloc() is concerned.

Furthermore I am not quite sure which is the bigger problem here - flushing TLB on all CPUs....or the vmalloc()'s locking mechanism.

Definitely the systems will 'grow' in means of more kernel memory allocations which in turn means more TLB flushes. However the RAM is getting faster which makes me think that a TLB flush is getting less of a hassle as compared to global locks which can definitely become more and more serious as the number of CPU cores grows in time :)

(Log in to post comments)

Copyright © 2018, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds