Re: [PATCH 1/1] mlock: split the shmlock_user_lock spinlock into peruser_struct spinlock
From: rajman mekaco
Date: Thu May 10 2012 - 12:48:44 EST
> If 2 different user-mode processes executing on 2 CPUs under 2 different
> users want to access the same shared memory through the
This will happen even for different shared memory as the lock is global.
This fact just increases the relevance of this patch, dont you think ?
> shmctl(SHM_LOCK) / shmget(SHM_HUGETLB) / usr_shm_lock
> primitives, they could compete/spin even though their user_structs
> are different.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/