RE: [PATCH 1/1] Allow global purge traslation cache (ptc.g) to bedisabled

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

 



> Please consider the scenario when many cpus are calling
> ia64_global_tlb_purge at the same time without any lock.
> Using global variables to indicate tlb flush start and end is not safe
> here.	

Isn't everything protected by the

	spin_lock(&ptcg_lock);
	 ...
	spin_unlock(&ptcg_lock);

in ia64_global_tlb_purge()?  Though the comment that this lock
is required for HW serialization would need to be updated to
note that the s/w implementation also requires this serialization.

-Tony
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux