RE: kfree(NULL)

From: Hua Zhong
Date: Fri Apr 21 2006 - 19:04:02 EST


> > It seems including atomic.h inside compiler.h is a bit
> tricky (might have interdependency).
> >
> > Can we just live with int instead of atomic_t? We don't
> really care about losing a count occasionally..
>
> It's nice so you don't have to fool around with locking ..
> The atomic_t structure is pretty simple thought . I think it
> boils down to just an int anyway .

We could move atomic_t into a separate atomic_type.h? I just want to make sure before I mess with the file structure..

Hua

-
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/