Page MenuHomeFreeBSD

gsuryacse7k_gmail.com (Suresh Gumpula)
User

Projects

User does not belong to any projects.

User Details

User Since
Jun 3 2015, 6:23 PM (468 w, 5 d)

Recent Activity

Jun 3 2015

gsuryacse7k_gmail.com added a comment to D2725: Add extra INVARIANTS check for ctor/dtor.

mtrash_ctor() on standard malloc zones also panics if it detects use after free unconditionally. So may be its good to keep both in sync instead of a panic knob with sysctl/options.

Jun 3 2015, 8:04 PM
gsuryacse7k_gmail.com added a comment to D2725: Add extra INVARIANTS check for ctor/dtor.

We uncovered/realized this bug and others only after we committed this patch. So I think its really a useful check to have in .
https://svnweb.freebsd.org/base?view=revision&revision=281599

Jun 3 2015, 7:51 PM
gsuryacse7k_gmail.com added a comment to D2725: Add extra INVARIANTS check for ctor/dtor.

We have not seen any side effect other than this mutex issue for a month+ invariant build testing. I am thinking its good to go now.

Jun 3 2015, 7:46 PM
gsuryacse7k_gmail.com added a comment to D2725: Add extra INVARIANTS check for ctor/dtor.

The mtx init code is assuming the object being initialized with zeros. Please make this change too in v_addpollinfo() in
freebsd/sys/kern/vfs_subr.c. Otherwise it panics because of uma_junk(0xdeadc0de) in the newly created object out of this zone.

Jun 3 2015, 7:07 PM