Re: Is "fix shm_file deletion races" patch required by 3.4.x ?

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

 



On 12/11/2013 06:54 PM, Greg Thelen wrote:
[...]
> 
> I don't think that 3.4 suffers the same problem.  So I don't see any
> reason to apply "fix shm_file deletion races" to 3.4.x.  3.4 is immune
> because it use exclusive locking (spinlock) for shm-id-to-shm-object
> conversions (shm_lock_check() in shmctl()).  Newer kernels use rcu
> protected schemes so more races are possible.  Furthermore, I ran some
> quick tests on v3.4.71 and did not find any crashes.  So I don't think
> 3.4.x needs this patch.
> 

Ah ok, thank you for your insight.

Maybe also adding a reference to the commit that introduced the bug
would help but that would add extra work.

Thanks
--
To unsubscribe from this list: send the line "unsubscribe stable" 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]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]