Page MenuHomeFreeBSD

jim_netgate.com (Jim Thompson)
User

Projects

User does not belong to any projects.

User Details

User Since
Jun 15 2015, 5:15 PM (205 w, 13 h)

Recent Activity

Jan 22 2018

jim_netgate.com updated the diff for D4964: Protect calls to explicit_bzero() via by explicitly disabling the link-time and other optimizations that can cause code elimination..

We have LTO in base now. The day of reckoning has come.

Jan 22 2018, 5:57 AM

Mar 4 2016

jim_netgate.com added a comment to D5448: Fix missing brackets in e1000_phy.c.
  • Jim
Mar 4 2016, 2:43 PM

Feb 25 2016

jim_netgate.com retitled D5448: Fix missing brackets in e1000_phy.c from to Fix missing brackets in e1000_phy.c.
Feb 25 2016, 8:32 PM

Jan 18 2016

jim_netgate.com added a comment to D4964: Protect calls to explicit_bzero() via by explicitly disabling the link-time and other optimizations that can cause code elimination..

Hi Jim,
I don't think that this approach will work, because noinline does not do what you might expect. The compiler will not inline the function, but it can still look inside it. In particular, it will determine that it does not read or write any memory other than the arguments and propagate these attributes to anything that calls it. This will happen even with the ThinLTO model that Google is slowly upstreaming to LLVM.

Jan 18 2016, 5:01 PM

Jan 17 2016

jim_netgate.com updated the diff for D4964: Protect calls to explicit_bzero() via by explicitly disabling the link-time and other optimizations that can cause code elimination..

I've attempted to do what I think Warner asked for here.

Jan 17 2016, 7:26 PM
jim_netgate.com updated the diff for D4964: Protect calls to explicit_bzero() via by explicitly disabling the link-time and other optimizations that can cause code elimination..

eliminate the changes to release/amd64/make-memstick.sh

Jan 17 2016, 4:10 PM
jim_netgate.com retitled D4964: Protect calls to explicit_bzero() via by explicitly disabling the link-time and other optimizations that can cause code elimination. from to Protect calls to explicit_bzero() via by explicitly disabling the link-time and other optimizations that can cause code elimination..
Jan 17 2016, 4:07 PM

Jul 2 2015

jim_netgate.com added a comment to D2978: Make passwd and group write operations sync.

Notes: the power failure (or in many cases, even reboot) can happen up to 120 seconds after 'pw' touches master.passwd or /etc/group, or 'pwd_mkdb' recreates /etc/pwd.db and /etc/spwd.db, and still leave the system with 0 length files after a reboot.

Jul 2 2015, 4:52 PM