> I'm by no means an expert in this area, but isn't removing the locking
> on free a bad thing?

Looking at the code, it seems that vm_page_unwire() only requires the
page to be locked if it is managed.  As it was acquired by
contigmalloc, the page should be unmanaged so that should be ok.

I am confused as to why vm_page_unwire() does not require the page to
be locked if the page is unmanaged.  What is synchronizing the
accesses to m->wire_count?
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to