On Mon, 16 Apr 2001, Benjamin Herrenschmidt wrote:
Also, do you have the kernel BAT mapped or did you remove that optim ?
I'm not too sure the hash table code is very safe to run without this.
I beleive that without the BAT mapping, the code & data that are
touched when the hash table lock is held should be locked in the TLB as
well to avoid deadlocks.
How do you lock something in the _TLB_ ?
Avoiding the removal/overwrite of some critical hashtable entries is fine,
but you can't prevent any TLB entry from being purged by replacement HW.
Gabriel.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/