{"push_id":2934670549,"size":24,"distinct_size":4,"ref":"refs/heads/wipbsd-12","head":"aca47b0d8af719ed0ea305d6134092d1cb6011e4","before":"29ac7b0774ff39d3eab318fa417a395101779bc4","commits":[{"sha":"9dd86cea3379662686628cf5992c1beef2f1154c","author":{"name":"markj","email":"23db6e8289fa7db4b6fb088bae5a52eb2ade6329@FreeBSD.org"},"message":"Fix an inverted test in ucode_load_ap().\n\nThis caused microcode to be updated only on the BSP if hyperthreading\nwas disabled, typically resulting in a hang or reset.\n\nApproved by:\tre (kib)\nSponsored by:\tThe FreeBSD Foundation","distinct":false,"url":"https://api.github.com/repos/emaste/freebsd/commits/9dd86cea3379662686628cf5992c1beef2f1154c"},{"sha":"968d1420945257a007810b1a6623a5eee0542b5a","author":{"name":"glebius","email":"c0d235e642580376dcd444b48f93fac3ba1a711b@FreeBSD.org"},"message":"In PR 227259, a user is reporting that they have code which is using\nshutdown() to wakeup another thread blocked on a stream listen socket.\nThis code is failing, while it used to work on FreeBSD 10 and still\nworks on Linux.\n\nIt seems reasonable to add another exception to support something users are\nactually doing, which used to work on FreeBSD 10, and still works on Linux.\nAnd, it seems like it should be acceptable to POSIX, as we still return\nENOTCONN.\n\nThis patch is different to what had been committed to stable/11, since\ncode around listening sockets is different. Patch in D15019 is written\nby jtl@, slightly modified by me.\n\nPR:\t\t227259\nObtained from:\tjtl\nApproved by:\tre (kib)\nDifferential Revision:  D15019","distinct":false,"url":"https://api.github.com/repos/emaste/freebsd/commits/968d1420945257a007810b1a6623a5eee0542b5a"},{"sha":"af02cb62dce2a7a79dd6f59bba715e9adbac1ec8","author":{"name":"andreast","email":"4cbed289be6f7eb01013ae0dcf9702df42c1a6aa@FreeBSD.org"},"message":"Set the default loader for powerpc64 back to to forth too.\nThe commit from r338893 covered only the powerpc build.\n\nApproved by:\tre (kib)","distinct":false,"url":"https://api.github.com/repos/emaste/freebsd/commits/af02cb62dce2a7a79dd6f59bba715e9adbac1ec8"},{"sha":"e62dcc082e537b58e52d39ee9d0e2b2210cbfcac","author":{"name":"brooks","email":"36dc6978501422e22f86ddb0b443192ade5edf35@FreeBSD.org"},"message":"Move 32-bit compat support for FIODGNAME to the right place.\n\nioctl(2) commands only have meaning in the context of a file descriptor\nso translating them in the syscall layer is incorrect.\n\nThe new handler users an accessor to retrieve/construct a pointer from\nthe last member of the passed structure and relies on type punning to\naccess the other member which requires no translation.\n\nReviewed by:\tkib\nApproved by:\tre (rgrimes, gjb)\nObtained from:\tCheriBSD\nSponsored by:\tDARPA, AFRL\nDifferential Review:\thttps://reviews.freebsd.org/D17388","distinct":false,"url":"https://api.github.com/repos/emaste/freebsd/commits/e62dcc082e537b58e52d39ee9d0e2b2210cbfcac"},{"sha":"a373d8a0d56d3fab3f7256f9bd58cadb1a86a860","author":{"name":"gjb","email":"a9bdedfba877c39b2c34ab943d5bac42650cd87b@FreeBSD.org"},"message":"Fix the hardware.{txt,html} build in the release/Makefile 'reldoc'\ntarget.\n\nThe doc/share/mk/doc.commands.mk sets SVN to /usr/local/bin/svn\nby default, which is not necessarily installed by the documentation\nproject textproc/docproj port.\n\nEnsure SVN can be evaluated properly to include the hardware pages\nby iterating through /usr/local/bin and /usr/bin and looking for\nboth svn and svnlite binaries, and pass the SVN variable explicitly\nthrough env(1) in the reldoc target to avoid failures if it does not\nexist.\n\nApproved by:\tre (rgrimes)\nSponsored by:\tThe FreeBSD Foundation","distinct":false,"url":"https://api.github.com/repos/emaste/freebsd/commits/a373d8a0d56d3fab3f7256f9bd58cadb1a86a860"},{"sha":"55f081d3635aec555694558366c6ccc76daf34ee","author":{"name":"pjd","email":"4f107de606760b375e4f4cdea54fd8040bd474ad@FreeBSD.org"},"message":"When we look for a new trail file there might be a race between find trail\nfile name and opening it. This race was not properly handled, because we were\ncopying new name before checking for openat(2) error and when we were trying\nagain we were starting with the next trail file. This could result in skipping\ndistribution of such a trail file.\n\nFix this problem by checking for ENOENT first (only for .not_terminated files)\nand then updating (or not) tr_filename before restarting the search.\n\nPR:\t\t200139\nReported by:\tpeter\nApproved by:\tre (kib)","distinct":false,"url":"https://api.github.com/repos/emaste/freebsd/commits/55f081d3635aec555694558366c6ccc76daf34ee"},{"sha":"dd4a41d654cd7dd729a50a795e9ae42a2b2c1ab7","author":{"name":"pjd","email":"4f107de606760b375e4f4cdea54fd8040bd474ad@FreeBSD.org"},"message":"When the adist_free list is empty and we lose connection to the receiver we\nmove all elements from the adist_send and adist_recv lists back onto the\nadist_free list, but we don't wake consumers waitings for the adist_free list\nto become non-empty. This can lead to the sender process stopping audit trail\nfiles distribution and waiting forever.\n\nFix the problem by adding the missing wakeup.\n\nWhile here slow down spinning on CPU in case of a short race in\nsender_disconnect() and add an explaination when it can occur.\n\nPR:\t\t201953\nReported by:\tpeter\nApproved by:\tre (kib)","distinct":false,"url":"https://api.github.com/repos/emaste/freebsd/commits/dd4a41d654cd7dd729a50a795e9ae42a2b2c1ab7"},{"sha":"da8348df52245299b7cca1d6384b56e55077a5c2","author":{"name":"pjd","email":"4f107de606760b375e4f4cdea54fd8040bd474ad@FreeBSD.org"},"message":"Remove invalid comments and correct some typos.\n\nApproved by:\tre (kib)","distinct":false,"url":"https://api.github.com/repos/emaste/freebsd/commits/da8348df52245299b7cca1d6384b56e55077a5c2"},{"sha":"911e0929e53b13b151be4c42104b655858b7fde2","author":{"name":"0mp","email":"ba16b7be1b44c569dc430b3f4c08a1c6f37443a4@FreeBSD.org"},"message":"bsdinstall(8): Document ZFS installation scripting.\n\n- Extend the bsdinstall(8) man page with ZFS installation scripting\n  details. [1]\n- Extend the bsdinstall(8) man page with the description of all the ZFS\n  variables involved in a scripted installation of ZFS-based systems. [1]\n- Extend the SCRIPTING section with an example for a ZFS-based scripted\n  installation. [1]\n- Create a new section explaining how ZFS datasets must be written into\n  a variable to get them set on the final system. [1]\n\nWhile here:\n- Add Roberto to the copyrights for recognition as changes to the manual\n  page are huge.\n- Use \"Dq\" for default values.\n- Use sysrc(8) instead of echo in examples.\n\nSubmitted by:\tRoberto Fernandez Cueto <roberfern@gmail.com> [1]\nReviewed by:\tdteske\nApproved by:\tre (gjb), krion (mentor, implicit), mat (mentor, implicit)\nDifferential Revision:\thttps://reviews.freebsd.org/D14169","distinct":false,"url":"https://api.github.com/repos/emaste/freebsd/commits/911e0929e53b13b151be4c42104b655858b7fde2"},{"sha":"b4764e4a0ec8b524f347e21de3a862cfb3083ab6","author":{"name":"emaste","email":"aeb8da9b93f4f35c2ddc1280821f190e432a94e3@FreeBSD.org"},"message":"crt: switch to standard note type definitions from elf_common.h\n\nThis makes it easier to grep the source tree for these notes, and\nensures that they will remain in sync.\n\nReviewed by:\tkib\nApproved by:\tre (gjb)\nMFC after:\t1 week\nSponsored by:\tThe FreeBSD Foundation\nDifferential Revision:\thttps://reviews.freebsd.org/D17408","distinct":false,"url":"https://api.github.com/repos/emaste/freebsd/commits/b4764e4a0ec8b524f347e21de3a862cfb3083ab6"},{"sha":"ff0f95a0ee061437a3078a4ff5a46a6880c1a2ee","author":{"name":"Ed Maste","email":"aeb8da9b93f4f35c2ddc1280821f190e432a94e3@freebsd.org"},"message":"Merge remote-tracking branch 'upstream/master' into wipbsd-12","distinct":true,"url":"https://api.github.com/repos/emaste/freebsd/commits/ff0f95a0ee061437a3078a4ff5a46a6880c1a2ee"},{"sha":"f60e955b61894bc954b532ed36866e2ff123b7e9","author":{"name":"gonzo","email":"4ef65bbe462a1eb58f82de24c75235b73f378625@FreeBSD.org"},"message":"[ig4] style(9) clean-up\n\nSubmitted by:\tRajesh Kumar <rajfbsd@gmail.com>\nApproved by:\tre (gjb, kib)","distinct":false,"url":"https://api.github.com/repos/emaste/freebsd/commits/f60e955b61894bc954b532ed36866e2ff123b7e9"},{"sha":"b99621727b85440f5de6ae3a0150abf114ce3076","author":{"name":"mjg","email":"4cf8d479716eba9bc68e0146d95320fcb138b96b@FreeBSD.org"},"message":"amd64: hide non-erms jump label under non-erms copyin/copyout\n\nThis change is a no-op in terms of semantics, but has a side effect\nof removing a perfectly useless nop sled for CPUs with ERMS.\n\nApproved by:\tre (gjb)\nSponsored by:   The FreeBSD Foundation","distinct":false,"url":"https://api.github.com/repos/emaste/freebsd/commits/b99621727b85440f5de6ae3a0150abf114ce3076"},{"sha":"27bfaf80909908db35c70b6d20c9393ff0d57041","author":{"name":"Ed Maste","email":"aeb8da9b93f4f35c2ddc1280821f190e432a94e3@freebsd.org"},"message":"Introduce WITH_RETPOLINE userland build option","distinct":true,"url":"https://api.github.com/repos/emaste/freebsd/commits/27bfaf80909908db35c70b6d20c9393ff0d57041"},{"sha":"e9b3bb78c701e46abfd6f83425c61780afbb9845","author":{"name":"Ed Maste","email":"aeb8da9b93f4f35c2ddc1280821f190e432a94e3@freebsd.org"},"message":"Default WITH_RETPOLINE in wipbsd","distinct":true,"url":"https://api.github.com/repos/emaste/freebsd/commits/e9b3bb78c701e46abfd6f83425c61780afbb9845"},{"sha":"8ccec35d9032a19ab02a0dd35af2fc6915b67dbb","author":{"name":"brooks","email":"36dc6978501422e22f86ddb0b443192ade5edf35@FreeBSD.org"},"message":"Reduce NL_ARGMAX to 4096 to match Linux.\n\nNL_ARGMAX is the maximum number of positional arguments supported by\nprintf(3). Prior to r308145 it was declared as 99 and not enforced.\nr308145 added enforcement and increased the value to 64k.\n\nUnfortunately, development versions of PostgreSQL used the system\ndefinition to allocate and zero an NL_ARGMAX * 4 sized array on the\nstack of its snprintf implementation with measurable performance\nimpacts. This has been fixed in new PostgreSQL versions, but it is\npossible that other programs suffer from this problem.\n\nA value of 4096 puts us on par with Linux and is certainly large enough\nfor any reasonable program.\n\nReviewed by:\tmjg\nReported by:\tmjg\nApproved by:\tre (gjb)\nDifferential revision:\thttps://reviews.freebsd.org/D17387\nDifferential revision:\thttps://reviews.freebsd.org/D8286","distinct":false,"url":"https://api.github.com/repos/emaste/freebsd/commits/8ccec35d9032a19ab02a0dd35af2fc6915b67dbb"},{"sha":"05d785dcc20cee69f75b6dde36f29bf47021d454","author":{"name":"rstone","email":"34e381dbbbc76b0c79642ff6052579f8980e1a2f@FreeBSD.org"},"message":"Hold a write lock across udp_notify()\n\nWith the new route cache feature udp_notify() will modify the inp when it\nneeds to invalidate the route cache.  Ensure that we hold a write lock on\nthe inp before calling the function to ensure that multiple threads don't\nrace while trying to invalidate the cache (which previously lead to a page\nfault).\n\nDifferential Revision: https://reviews.freebsd.org/D17246\nReviewed by: sbruno, bz, karels\nSponsored by: Dell EMC Isilon\nApproved by:\tre (gjb)","distinct":false,"url":"https://api.github.com/repos/emaste/freebsd/commits/05d785dcc20cee69f75b6dde36f29bf47021d454"},{"sha":"eb4c557ad16aee54a80da44af6f4ea2f7df9d768","author":{"name":"brooks","email":"36dc6978501422e22f86ddb0b443192ade5edf35@FreeBSD.org"},"message":"Revert r339174: Move 32-bit compat support for FIODGNAME to the right place.\n\nA case was missed in this commit which breaks sshing into a 32-bit sshd\non a 64-bit system.\n\nApproved by:\tre (gjb)","distinct":false,"url":"https://api.github.com/repos/emaste/freebsd/commits/eb4c557ad16aee54a80da44af6f4ea2f7df9d768"},{"sha":"9a1ff096d994073b9f9be27b69b8b8722babb319","author":{"name":"mmacy","email":"abd8d9b98153471c1408f2d22fb3ef790da5b6e1@FreeBSD.org"},"message":"eliminate locking surrounding ui_vmsize and swap reserve by using atomics\n\nChange swap_reserve and swap_total to be in units of pages so that\nswap reservations can be done using only atomics instead of using a single\nglobal mutex for swap_reserve and a single mutex for all processes running\nunder the same uid for uid accounting.\n\nResults in mmap speed up and a 70% increase in brk calls / second.\n\nReviewed by:\talc@, markj@, kib@\nApproved by:\tre (delphij@)\nDifferential Revision:\thttps://reviews.freebsd.org/D16273","distinct":false,"url":"https://api.github.com/repos/emaste/freebsd/commits/9a1ff096d994073b9f9be27b69b8b8722babb319"},{"sha":"e651a0b9c039899810f83da187913dfdf7e83f54","author":{"name":"mmacy","email":"abd8d9b98153471c1408f2d22fb3ef790da5b6e1@FreeBSD.org"},"message":"hwpmc: Refactor sample ring buffer handling to fix races\n\nRefactor sample ring buffer ring handling to make it more robust to\nlong running callchain collection handling\n\nr338112 introduced a (now fixed) regression that exposed a number of race\nconditions within the management of the sample buffers. This\nsimplifies the handling and moves the decision to overwrite a\ncallchain sample that has taken too long out of the NMI in to the\nhardlock handler. With this change the problem no longer shows up as a\nring corruption but as the code spending all of its time in callchain\ncollection.\n\n- Makes the producer / consumer index incrementing monotonic, making it\n  easier (for me at least) to reason about.\n- Moves the decision to overwrite a sample from NMI context to interrupt\n  context where we can enforce serialization.\n- Puts a time limit on waiting to collect a user callchain - putting a\n  bound on head-of-line blocking causing samples to be dropped\n- Removes the flush routine which was previously needed to purge\n  dangling references to the pmc from the sample buffers but now is only\n  a source of a race condition on unload.\n\nPreviously one could lock up or crash HEAD by running:\npmcstat -S inst_retired.any_p -T and then hitting ^C\n\nAfter this change it is no longer possible.\n\nPR:\t231793\nReviewed by:\tmarkj@\nApproved by:\tre (gjb@)\nDifferential Revision:\thttps://reviews.freebsd.org/D17011","distinct":false,"url":"https://api.github.com/repos/emaste/freebsd/commits/e651a0b9c039899810f83da187913dfdf7e83f54"}]}
{"actor":{"display_login":"emaste"}}