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

Re: Building of extended nbd fails on ppc



On Fri, Apr 25, 2003 at 10:39:11AM +0200, Michael Schmitz wrote:
> The SMP_ISYNC is just a plain isync on SMP systems. On non-SMP systems it
> should be safe to use these functions. On SMP systems, the isync might
> prevent this (privileged instruction, perhaps -- BenH??).
> Maybe only the SMP_ISYNC def should be protected by #ifdef __KERNEL__?

According to the official documentation from IBM, the isync instruction
does not require supervisor level. This sequence of instructions should
work fine in a user space program as far as I can tell.

	Brad Boyer
	flar@allandria.com



Reply to: