[dpdk-dev] [PATCH] add free hugepage function

Neil Horman nhorman at tuxdriver.com
Thu Oct 30 11:18:56 CET 2014


On Wed, Oct 29, 2014 at 08:23:25PM -0700, Matthew Hall wrote:
> On Wed, Oct 29, 2014 at 11:32:12AM -0400, Neil Horman wrote:
> > > 
> > Well, abnormal termination results in abnormal consequences.  You expect
> > garbage to get left behind of a program crashes, so I wouldn't really worry
> > about that too much.  If you really wanted to you can register chained handlers
> > for SIGSEGV/SIGBUS/etc to catch those conditions, but honestly, that seems like
> > overkill.  If a program that uses shared resources terminates abnormally, its
> > well understood that those shared resources may not get released properly, and
> > manual intervention is required to clean them up
> > 
> > Neil
> 
> Perhaps true. But also one of the top irritations with POSIX SHMEM. ;)
> 
POSIX shared memory defines IPC_RMID for exactly that purpose.



More information about the dev mailing list