Re: git: 08f06aa1b4fb - main - vfs: retire the VCALL macro

2025-10-01 Thread Mateusz Guzik
On Wed, Oct 1, 2025 at 8:35 PM Renato Botelho wrote: > > On 27/09/25 01:01, Mateusz Guzik wrote: > > The branch main has been updated by mjg: > > > > URL: > > https://cgit.FreeBSD.org/src/commit/?id=08f06aa1b4fb6db0d8beb3e1c328b1c1adbec13a > > > > commi

git: 5b63afc09a86 - main - watchdog: ifdef wd_ioctl_patpat on COMPAT_FREEBSD14

2025-10-01 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=5b63afc09a86318fa8bf09a786a1b084e000cc51 commit 5b63afc09a86318fa8bf09a786a1b084e000cc51 Author: Mateusz Guzik AuthorDate: 2025-10-01 07:40:31 + Commit: Mateusz Guzik CommitDate: 2025-10-01 07:40

git: 21d42c8d9022 - main - vfs: let the compiler catch unhandled vgetstate values in vget_abort

2025-09-27 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=21d42c8d902235b90b59d1aea6203b12e40c6c1b commit 21d42c8d902235b90b59d1aea6203b12e40c6c1b Author: Mateusz Guzik AuthorDate: 2025-09-24 08:52:28 + Commit: Mateusz Guzik CommitDate: 2025-09-24 08:52

git: 08f06aa1b4fb - main - vfs: retire the VCALL macro

2025-09-26 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=08f06aa1b4fb6db0d8beb3e1c328b1c1adbec13a commit 08f06aa1b4fb6db0d8beb3e1c328b1c1adbec13a Author: Mateusz Guzik AuthorDate: 2025-09-27 02:01:32 + Commit: Mateusz Guzik CommitDate: 2025-09-27 04:00

git: 7e4c451c12ae - main - vfs: retire the VREF macro

2025-09-26 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=7e4c451c12aeb26cc1179221b8230c491b17cf00 commit 7e4c451c12aeb26cc1179221b8230c491b17cf00 Author: Mateusz Guzik AuthorDate: 2025-09-27 02:13:29 + Commit: Mateusz Guzik CommitDate: 2025-09-27 04:00

git: 5e395c34402d - main - vfs: stop using SDT_PROBES_ENABLED in inlined ops

2025-09-26 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=5e395c34402dc3fd5c786168442290a63ff54596 commit 5e395c34402dc3fd5c786168442290a63ff54596 Author: Mateusz Guzik AuthorDate: 2025-09-26 20:23:49 + Commit: Mateusz Guzik CommitDate: 2025-09-27 04:00

git: 01c8e2e33df8 - main - vfs: retire the NULLVP macro

2025-09-26 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=01c8e2e33df81b242d73a23de49a6b61f33c24c1 commit 01c8e2e33df81b242d73a23de49a6b61f33c24c1 Author: Mateusz Guzik AuthorDate: 2025-09-27 02:07:04 + Commit: Mateusz Guzik CommitDate: 2025-09-27 04:00

git: 5c0e5f418d9f - main - BUF_ISLOCKED.9: drop a reference to lockstatus(9)

2025-09-26 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=5c0e5f418d9ff68a21d606d62b5fb748b7de229b commit 5c0e5f418d9ff68a21d606d62b5fb748b7de229b Author: Mateusz Guzik AuthorDate: 2025-09-26 20:45:42 + Commit: Mateusz Guzik CommitDate: 2025-09-27 04:00

git: a15f2c5cc58f - main - proc: perform P_CONTROLT check on fork without SESS_LOCK

2025-09-25 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=a15f2c5cc58f403407daf797a2e6963adffa6c2c commit a15f2c5cc58f403407daf797a2e6963adffa6c2c Author: Mateusz Guzik AuthorDate: 2025-09-25 11:50:01 + Commit: Mateusz Guzik CommitDate: 2025-09-25 11:50

Re: git: 40a42785dbba - main - fcntl(F_SETFL): only allow one thread to perform F_SETFL

2025-09-23 Thread Mateusz Guzik
On Mon, Sep 22, 2025 at 11:05 PM Konstantin Belousov wrote: > > > On 9/22/25 13:40, Mateusz Guzik wrote: > > > Per my previous e-mail the offset lock is already contested. > I am curious how they are? > If several threads do read(2)/write(2) kind of io on the same fd, >

Re: git: 40a42785dbba - main - fcntl(F_SETFL): only allow one thread to perform F_SETFL

2025-09-22 Thread Mateusz Guzik
On Mon, Sep 22, 2025 at 7:39 PM John Baldwin wrote: > > On 9/22/25 04:54, Mateusz Guzik wrote: > > On Mon, Sep 22, 2025 at 10:41 AM John Baldwin wrote: > >> > >> On 9/19/25 10:19, Konstantin Belousov wrote: > >>> The branch main has been upd

git: ff6abfec807e - main - pipe: sort out ino commentary on failed pipe creation

2025-09-22 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=ff6abfec807e31301e3bf9c0df14a22bb6bc3443 commit ff6abfec807e31301e3bf9c0df14a22bb6bc3443 Author: Mateusz Guzik AuthorDate: 2025-09-22 08:37:50 + Commit: Mateusz Guzik CommitDate: 2025-09-22 08:44

git: ea1652bc01c4 - main - vfs: remove a stale comment about unlock + unref relationship in vput

2025-09-17 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=ea1652bc01c4093eb4a8c6971c69a410883df189 commit ea1652bc01c4093eb4a8c6971c69a410883df189 Author: Mateusz Guzik AuthorDate: 2025-09-17 22:40:24 + Commit: Mateusz Guzik CommitDate: 2025-09-17 22:43

git: b98124e1c937 - main - vfs cache: update commentary, no code changes

2025-09-13 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=b98124e1c93789efcddaad57a8b9146ccc9a165e commit b98124e1c93789efcddaad57a8b9146ccc9a165e Author: Mateusz Guzik AuthorDate: 2025-09-13 05:38:56 + Commit: Mateusz Guzik CommitDate: 2025-09-13 06:19

git: 63bd2416ccd9 - main - vfs: denote a bug when dooming vnodes with custom locking primitives

2025-09-13 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=63bd2416ccd9c644b3dc557120bcccea6f7592af commit 63bd2416ccd9c644b3dc557120bcccea6f7592af Author: Mateusz Guzik AuthorDate: 2025-09-13 07:11:30 + Commit: Mateusz Guzik CommitDate: 2025-09-13 07:11

git: 31d1c080ab7b - main - vfs cache: drop SDT_PROBES_ENABLED usage

2025-07-16 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=31d1c080ab7b6d713f7b5fd8ff78e07d63645bc6 commit 31d1c080ab7b6d713f7b5fd8ff78e07d63645bc6 Author: Mateusz Guzik AuthorDate: 2025-07-16 08:38:22 + Commit: Mateusz Guzik CommitDate: 2025-07-16 08:50

Re: git: 234683726708 - main - devclass: make devclass_alloc_unit use M_NOWAIT

2025-03-06 Thread Mateusz Guzik
On Thu, Mar 6, 2025 at 2:33 PM John Baldwin wrote: > > On 3/6/25 06:35, Mateusz Guzik wrote: > > On Thu, Mar 6, 2025 at 12:32 PM Zhenlei Huang wrote: > >> > >> > >> > >> On Mar 6, 2025, at 7:03 PM, Mateusz Guzik wrote: > >> &g

Re: git: 234683726708 - main - devclass: make devclass_alloc_unit use M_NOWAIT

2025-03-06 Thread Mateusz Guzik
On Thu, Mar 6, 2025 at 12:32 PM Zhenlei Huang wrote: > > > > On Mar 6, 2025, at 7:03 PM, Mateusz Guzik wrote: > > The branch main has been updated by mjg: > > URL: > https://cgit.FreeBSD.org/src/commit/?id=234683726708cf5212d672d6

git: 234683726708 - main - devclass: make devclass_alloc_unit use M_NOWAIT

2025-03-06 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=234683726708cf5212d672d676d30056d4133859 commit 234683726708cf5212d672d676d30056d4133859 Author: Mateusz Guzik AuthorDate: 2025-03-06 11:01:49 + Commit: Mateusz Guzik CommitDate: 2025-03-06 11:01

git: efd368784eeb - main - mroute: serialize parallel teardown of the same vnet

2025-02-10 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=efd368784eebcc62324f7e1884776a22a73c4688 commit efd368784eebcc62324f7e1884776a22a73c4688 Author: Mateusz Guzik AuthorDate: 2025-02-10 14:44:39 + Commit: Mateusz Guzik CommitDate: 2025-02-10 14:45

git: 0fd31cf69032 - main - mroute: fix a sysctl vs teardown race

2025-02-10 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=0fd31cf690328558b8a12ff65397438efc345932 commit 0fd31cf690328558b8a12ff65397438efc345932 Author: Mateusz Guzik AuthorDate: 2025-02-10 14:45:17 + Commit: Mateusz Guzik CommitDate: 2025-02-10 14:45

git: d6138a65405f - main - inet6: add the missing lock acquire to nd6_get_llentry

2025-02-10 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=d6138a65405f697715189363b2b18581e7abd982 commit d6138a65405f697715189363b2b18581e7abd982 Author: Mateusz Guzik AuthorDate: 2025-02-10 14:27:37 + Commit: Mateusz Guzik CommitDate: 2025-02-10 14:27

git: a4469a0d19b6 - main - pipe: convert pipelock flag argument to bool

2024-07-17 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=a4469a0d19b64bf518c12e8c24c81ec513a45e7d commit a4469a0d19b64bf518c12e8c24c81ec513a45e7d Author: Mateusz Guzik AuthorDate: 2024-07-17 19:07:07 + Commit: Mateusz Guzik CommitDate: 2024-07-17 21:45

Re: git: 87ee63bac69d - main - locks: add a runtime check for missing turnstile

2024-07-15 Thread Mateusz Guzik
On Mon, Jul 15, 2024 at 8:33 PM Mateusz Guzik wrote: > > On Mon, Jul 15, 2024 at 8:21 PM John Baldwin wrote: > > > > On 7/15/24 13:59, Mateusz Guzik wrote: > > > On Mon, Jul 15, 2024 at 6:22 PM John Baldwin wrote: > > >> > > >> On 7/11/24 07:0

Re: git: 87ee63bac69d - main - locks: add a runtime check for missing turnstile

2024-07-15 Thread Mateusz Guzik
On Mon, Jul 15, 2024 at 8:21 PM John Baldwin wrote: > > On 7/15/24 13:59, Mateusz Guzik wrote: > > On Mon, Jul 15, 2024 at 6:22 PM John Baldwin wrote: > >> > >> On 7/11/24 07:07, Mateusz Guzik wrote: > >>> The branch main has been updated by mjg: > &

Re: git: 87ee63bac69d - main - locks: add a runtime check for missing turnstile

2024-07-15 Thread Mateusz Guzik
On Mon, Jul 15, 2024 at 6:22 PM John Baldwin wrote: > > On 7/11/24 07:07, Mateusz Guzik wrote: > > The branch main has been updated by mjg: > > > > URL: > > https://cgit.FreeBSD.org/src/commit/?id=87ee63bac69dc49291f55590b8baa57cad6c7d85 > > > > commi

git: 87ee63bac69d - main - locks: add a runtime check for missing turnstile

2024-07-11 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=87ee63bac69dc49291f55590b8baa57cad6c7d85 commit 87ee63bac69dc49291f55590b8baa57cad6c7d85 Author: Mateusz Guzik AuthorDate: 2024-07-11 00:17:27 + Commit: Mateusz Guzik CommitDate: 2024-07-11 11:06

git: 0a487207227b - main - vfs cache: add sysctl vfs.cache.param.hitpct

2024-07-08 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=0a487207227badcbfbec029103ac7e2d5291bd30 commit 0a487207227badcbfbec029103ac7e2d5291bd30 Author: Mateusz Guzik AuthorDate: 2024-07-08 17:57:39 + Commit: Mateusz Guzik CommitDate: 2024-07-08 18:17

git: 0a9aa6fdf584 - main - vfs: make skipping LRU requeue optional

2024-07-08 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=0a9aa6fdf58468945240e86bf16c268acc8c1776 commit 0a9aa6fdf58468945240e86bf16c268acc8c1776 Author: Mateusz Guzik AuthorDate: 2024-07-08 12:24:41 + Commit: Mateusz Guzik CommitDate: 2024-07-08 12:40

git: b6196537b012 - main - pf: fix the "keepcounters" to stop truncating to 32-bit

2024-06-20 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=b6196537b0125c50f25bd64ed60e1cdd635ecd34 commit b6196537b0125c50f25bd64ed60e1cdd635ecd34 Author: Mateusz Guzik AuthorDate: 2024-06-20 17:48:52 + Commit: Mateusz Guzik CommitDate: 2024-06-20 17:55

git: b0aaf8beb126 - main - Rename VM_LAST to more appropriate VM_GUEST_LAST

2024-03-18 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=b0aaf8beb12609f8a94575ee21f849474bf7e03a commit b0aaf8beb12609f8a94575ee21f849474bf7e03a Author: Mateusz Guzik AuthorDate: 2024-03-18 10:48:10 + Commit: Mateusz Guzik CommitDate: 2024-03-18 10:49

Re: git: 6d4a140acfdf - main - pf: Ensure that st->kif is obtained in a way which respects the r->rpool->mtx mutex

2024-02-05 Thread Mateusz Guzik
:18:11 + >> >> The author should be Kajetan :( > > Indeed it should. My apologies to Kajetan. And Igor as well, although he > probably got the better end of the deal. > You can revert and commit the correct version. -- Mateusz Guzik

Re: git: d07acc58d898 - main - systm: Relax __result_use_check annotations

2024-01-12 Thread Mateusz Guzik
atile void *base, int word); > +int suword32(volatile void *base, int32_t word); > +int suword64(volatile void *base, int64_t word); > uint32_t casuword32(volatile uint32_t *base, uint32_t oldval, uint32_t > newval); > u_long casuword(volatile u_long *p, u_long oldval, u_long newval); > int casueword32(volatile uint32_t *base, uint32_t oldval, uint32_t > *oldvalp, > -- Mateusz Guzik

git: 3358108a38f0 - main - llvm: Support: don't block signals around close if it can be avoided

2023-12-29 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=3358108a38f0efc7e7a143aeda80c941946fef77 commit 3358108a38f0efc7e7a143aeda80c941946fef77 Author: Mateusz Guzik AuthorDate: 2023-12-29 18:51:56 + Commit: Mateusz Guzik CommitDate: 2023-12-29 18:52

Re: git: e1e847374bcc - main - Add DEBUG_POISON_POINTER

2023-11-28 Thread Mateusz Guzik
On 11/28/23, Gleb Smirnoff wrote: > Mateusz, > > On Tue, Nov 28, 2023 at 04:35:40PM +, Mateusz Guzik wrote: > M> Add DEBUG_POISON_POINTER > M> > M> If you have a pointer which you know points to stale data, you can > M> fill it with junk so tha

git: e1e847374bcc - main - Add DEBUG_POISON_POINTER

2023-11-28 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=e1e847374bcc287ca97e6cb16cb5e07a697cf055 commit e1e847374bcc287ca97e6cb16cb5e07a697cf055 Author: Mateusz Guzik AuthorDate: 2023-11-28 15:23:25 + Commit: Mateusz Guzik CommitDate: 2023-11-28 16:33

Re: git: ad34121518bb - main - Revert "pst: improve shutdown_post_sync handler"

2023-11-23 Thread Mateusz Guzik
Request polled shutdown. */ > - psc->reg->oqueue_intr_mask = 0x; > -} > - > mfa = iop_get_mfa(psc->iop); > msg = (struct i2o_bsa_cache_flush_message *)(psc->iop->ibase + mfa); > bzero(msg, sizeof(struct i2o_bsa_cache_flush_message)); > @@ -199

git: e0d0f0930ee2 - main - pseudofs: fix off by one in hash iteration in pfs_purge

2023-11-19 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=e0d0f0930ee22af7bf38d28d8590d4e6c822871d commit e0d0f0930ee22af7bf38d28d8590d4e6c822871d Author: Alvin Chen AuthorDate: 2023-11-20 05:55:35 + Commit: Mateusz Guzik CommitDate: 2023-11-20 05:57:25

git: 305a2676ae93 - main - vfs: dodge locking for lseek(fd, 0, SEEK_CUR)

2023-11-19 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=305a2676ae93fb50a623024d51039415521cb2da commit 305a2676ae93fb50a623024d51039415521cb2da Author: Mateusz Guzik AuthorDate: 2023-11-19 22:23:20 + Commit: Mateusz Guzik CommitDate: 2023-11-19 22:25

Re: git: a6ed8c959303 - main - Fix /root permissions after 'make installworld'

2023-11-16 Thread Mateusz Guzik
otal workaround, the real bug is that root dir gets modified to begin with and there will be other cases prone to cause the same problem. More importantly, is not this a regression from security pov? -- Mateusz Guzik

Re: git: 89188bd6ba8d - main - vn_copy_file_range(): use local variables for invp/outvp vnodes v_mounts

2023-11-14 Thread Mateusz Guzik
_mount->mnt_vfc->vfc_name, > - outvp->v_mount->mnt_vfc->vfc_name) == 0) > + if (inmp == outmp || strcmp(inmp->mnt_vfc->vfc_name, > + outmp->mnt_vfc->vfc_name) == 0) > error = VOP_COPY_FILE_RANGE(invp, inoffp, outvp, outoffp, > lenp, flags, incred, outcred, fsize_td); > else > > ->mnt_vfc is global per filesystem code, so this strcmp does not make any sense. mere comparison to mnt_vfc will do it. -- Mateusz Guzik

git: 733a66841d70 - main - Fix up the vm_guest_sysctl_names size assert.

2023-11-06 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=733a66841d70c6934f073d227db10678d6ef5226 commit 733a66841d70c6934f073d227db10678d6ef5226 Author: Mateusz Guzik AuthorDate: 2023-11-06 15:38:06 + Commit: Mateusz Guzik CommitDate: 2023-11-06 15:39

Re: git: 63bf943d4af1 - main - Hyper-V: vmbus: Add NULL check for vmbus_res

2023-11-02 Thread Mateusz Guzik
if (dev_res != NULL) { >> +handle = acpi_get_handle(dev_res); >> >> - if (ACPI_FAILURE(acpi_GetInteger(handle, "_CCA", &coherent))) >> -coherent = 0; >> +if (ACPI_FAILURE(acpi_GetInteger(handle, "_CCA", &coherent))) >> +coherent = 0; >> +} >> if (bootverbose) >> device_printf(sc->vmbus_dev, "Bus is%s cache-coherent\n", >> coherent ? "" : " not"); > > > > -- Mateusz Guzik

git: 0c5cd045bfb8 - main - vfs: remove majority of stale commentary about free list

2023-11-01 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=0c5cd045bfb847428a8a5e0e91e6fc3cf27a17c2 commit 0c5cd045bfb847428a8a5e0e91e6fc3cf27a17c2 Author: Mateusz Guzik AuthorDate: 2023-11-01 08:28:28 + Commit: Mateusz Guzik CommitDate: 2023-11-01 08:39

git: 8b916c35c288 - main - vfs: fix a typo introdued in previous

2023-11-01 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=8b916c35c2885867df2351a94a4b22100ad8eade commit 8b916c35c2885867df2351a94a4b22100ad8eade Author: Mateusz Guzik AuthorDate: 2023-11-01 08:29:29 + Commit: Mateusz Guzik CommitDate: 2023-11-01 08:29

git: 1692e50f2573 - main - vfs: bring getnewvnode manpage closer to reality

2023-11-01 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=1692e50f25730bfa0c579396bc2f79973717b30b commit 1692e50f25730bfa0c579396bc2f79973717b30b Author: Mateusz Guzik AuthorDate: 2023-11-01 08:20:12 + Commit: Mateusz Guzik CommitDate: 2023-11-01 08:21

git: 8bd794531118 - main - sx: fixup copy pasto in previous

2023-10-23 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=8bd794531118c17b530eb51384439c46e72bb69d commit 8bd794531118c17b530eb51384439c46e72bb69d Author: Mateusz Guzik AuthorDate: 2023-10-23 17:29:55 + Commit: Mateusz Guzik CommitDate: 2023-10-23 17:29

git: c35f527ed115 - main - sx: unset td_wantedlock around going to sleep

2023-10-23 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=c35f527ed115b792463d30c7d3c8904e435caead commit c35f527ed115b792463d30c7d3c8904e435caead Author: Mateusz Guzik AuthorDate: 2023-10-23 17:22:12 + Commit: Mateusz Guzik CommitDate: 2023-10-23 17:22

git: 7530de77f539 - main - thread: add td_wantedlock

2023-10-22 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=7530de77f539678847edd29489b7635f8f58b574 commit 7530de77f539678847edd29489b7635f8f58b574 Author: Mateusz Guzik AuthorDate: 2023-10-22 15:46:39 + Commit: Mateusz Guzik CommitDate: 2023-10-22 17:09

git: 5d29ead2e2de - main - thread: reorder td_no_sleeping to plug two 4-byte holes on LP64

2023-10-22 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=5d29ead2e2decba1940cda805ec9ceb06deb7f0f commit 5d29ead2e2decba1940cda805ec9ceb06deb7f0f Author: Mateusz Guzik AuthorDate: 2023-10-22 15:39:25 + Commit: Mateusz Guzik CommitDate: 2023-10-22 17:09

Re: git: fabf705f4b5a - main - pf: fix pf divert-to loop

2023-10-19 Thread Mateusz Guzik
messaing that in the phabricator. > I don't have an opinion on employing an enum, but if going that route one can shrink it by using smaller enums -- grep for __enum_uint8 for an example. -- Mateusz Guzik

git: 37544d976811 - main - vfs: convert recycles_count and recycles_free_count to mere u_long

2023-10-12 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=37544d9768110fd67527db7f2a3f7bb6fc977582 commit 37544d9768110fd67527db7f2a3f7bb6fc977582 Author: Mateusz Guzik AuthorDate: 2023-10-12 06:57:59 + Commit: Mateusz Guzik CommitDate: 2023-10-12 07:00

git: a92fc3122d2b - main - vfs: count recycles by vnlru and by vn_alloc separately

2023-10-12 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=a92fc3122d2becfbf5a627af6eda5cedfac57c31 commit a92fc3122d2becfbf5a627af6eda5cedfac57c31 Author: Mateusz Guzik AuthorDate: 2023-10-12 06:47:45 + Commit: Mateusz Guzik CommitDate: 2023-10-12 06:50

git: bb679b0c4909 - main - vfs: count calls to uma_reclaim in vnlru

2023-10-11 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=bb679b0c49094757f2aef3d8fe46c41dc8192fea commit bb679b0c49094757f2aef3d8fe46c41dc8192fea Author: Mateusz Guzik AuthorDate: 2023-10-11 22:48:03 + Commit: Mateusz Guzik CommitDate: 2023-10-11 22:49

git: 281a9715b582 - main - vfs: add max_vnlru_free to the vfs.vnode.vnlru tree

2023-10-11 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=281a9715b582861fe4097c2f27eb27b208d752b1 commit 281a9715b582861fe4097c2f27eb27b208d752b1 Author: Mateusz Guzik AuthorDate: 2023-10-11 13:05:43 + Commit: Mateusz Guzik CommitDate: 2023-10-11 13:07

git: 054f45e026d8 - main - vfs: further speed up continuous free vnode recycle

2023-10-11 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=054f45e026d898bdc8f974d33dd748937dee1d6b commit 054f45e026d898bdc8f974d33dd748937dee1d6b Author: Mateusz Guzik AuthorDate: 2023-10-11 09:42:12 + Commit: Mateusz Guzik CommitDate: 2023-10-11 10:37

git: a4f753e812d8 - main - vfs: don't recycle transiently excess vnodes

2023-10-10 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=a4f753e812d8913e9be481c6dfa1574c7f032a56 commit a4f753e812d8913e9be481c6dfa1574c7f032a56 Author: Mateusz Guzik AuthorDate: 2023-10-11 06:39:48 + Commit: Mateusz Guzik CommitDate: 2023-10-11 06:39

git: 90a008e94bb2 - main - vfs: prefix regular vnlru with a special case for free vnodes

2023-10-10 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=90a008e94bb205e5b8f3c41d57e155b59a6be95d commit 90a008e94bb205e5b8f3c41d57e155b59a6be95d Author: Mateusz Guzik AuthorDate: 2023-09-14 19:08:40 + Commit: Mateusz Guzik CommitDate: 2023-10-10 19:35

git: 1bf55a739e75 - main - vfs: be less eager to call uma_reclaim(UMA_RECLAIM_DRAIN)

2023-10-10 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=1bf55a739e754765fa2dc15ab6481fe411084be3 commit 1bf55a739e754765fa2dc15ab6481fe411084be3 Author: Mateusz Guzik AuthorDate: 2023-10-10 16:15:53 + Commit: Mateusz Guzik CommitDate: 2023-10-10 16:15

git: 23ef25d25d98 - main - vfs: consult freevnodes in vnlru_kick_cond

2023-10-10 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=23ef25d25d989e7213bc1d3ef32b0f48a9eb2537 commit 23ef25d25d989e7213bc1d3ef32b0f48a9eb2537 Author: Mateusz Guzik AuthorDate: 2023-10-10 16:19:53 + Commit: Mateusz Guzik CommitDate: 2023-10-10 16:19

git: 8733bc277a38 - main - vfs: don't provoke recycling non-free vnodes without a good reason

2023-10-10 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=8733bc277a383cf59f38a83956f4f523869cfc90 commit 8733bc277a383cf59f38a83956f4f523869cfc90 Author: Mateusz Guzik AuthorDate: 2023-09-14 16:13:01 + Commit: Mateusz Guzik CommitDate: 2023-10-10 12:49

git: 4b9aa38ef0e5 - main - teken: fix up unused func warnings

2023-10-08 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=4b9aa38ef0e5bedcdd90b6627cc1c215037a1121 commit 4b9aa38ef0e5bedcdd90b6627cc1c215037a1121 Author: Mateusz Guzik AuthorDate: 2023-10-08 13:54:11 + Commit: Mateusz Guzik CommitDate: 2023-10-08 13:54

git: 8b622172ba44 - main - vfs cache: add 2 more optimizaiton ideas

2023-10-05 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=8b622172ba44f914092c1d44cecb2b101eb8e17b commit 8b622172ba44f914092c1d44cecb2b101eb8e17b Author: Mateusz Guzik AuthorDate: 2023-10-05 12:38:32 + Commit: Mateusz Guzik CommitDate: 2023-10-05 12:44

git: cd2105d691f4 - main - vfs cache: denote a known bug in cache_remove_cnp

2023-10-05 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=cd2105d691f446f7dbddf5965d82b9e9103bc8d2 commit cd2105d691f446f7dbddf5965d82b9e9103bc8d2 Author: Mateusz Guzik AuthorDate: 2023-10-05 12:32:29 + Commit: Mateusz Guzik CommitDate: 2023-10-05 12:44

git: 0f15054f7990 - main - vfs cache: plug a hypothetical corner case when freeing

2023-10-05 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=0f15054f7990f9c772bea34778a8838aa05ebed8 commit 0f15054f7990f9c772bea34778a8838aa05ebed8 Author: Mateusz Guzik AuthorDate: 2023-09-23 02:04:06 + Commit: Mateusz Guzik CommitDate: 2023-10-05 12:44

git: 2749c222da8a - main - vfs cache: sanitize debug counters

2023-10-05 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=2749c222da8a6325d39c0571f72b1dbed2f7d583 commit 2749c222da8a6325d39c0571f72b1dbed2f7d583 Author: Mateusz Guzik AuthorDate: 2023-10-05 12:16:18 + Commit: Mateusz Guzik CommitDate: 2023-10-05 12:44

git: 4862e8ac0223 - main - vfs cache: describe various optimization ideas

2023-10-03 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=4862e8ac0223d7b19c8b3e070af1e2b38b18f333 commit 4862e8ac0223d7b19c8b3e070af1e2b38b18f333 Author: Mateusz Guzik AuthorDate: 2023-10-03 13:36:50 + Commit: Mateusz Guzik CommitDate: 2023-10-03 13:36

git: 38a375c472d2 - main - vfs cache: s/vfs.cache_fast_lookup/vfs.cache.param.fast_lookup

2023-10-03 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=38a375c472d295df41adf73c5ddd50543f9d877c commit 38a375c472d295df41adf73c5ddd50543f9d877c Author: Mateusz Guzik AuthorDate: 2023-10-03 13:34:32 + Commit: Mateusz Guzik CommitDate: 2023-10-03 13:35

git: e6dc6a27230f - main - sys/conf/newvers.sh: whack sccs tag

2023-09-26 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=e6dc6a27230f836a131118326731b7c5fd417723 commit e6dc6a27230f836a131118326731b7c5fd417723 Author: Mateusz Guzik AuthorDate: 2023-09-26 14:36:51 + Commit: Mateusz Guzik CommitDate: 2023-09-26 14:36

git: bb124a0f611a - main - vfs cache: retire dothits and dotdothits counters

2023-09-22 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=bb124a0f611a1288c8496e3b33494f23ba929ca1 commit bb124a0f611a1288c8496e3b33494f23ba929ca1 Author: Mateusz Guzik AuthorDate: 2023-09-23 00:08:49 + Commit: Mateusz Guzik CommitDate: 2023-09-23 00:08

git: 33fdf1afaea9 - main - vfs cache: mark vfs.cache.param.size as read-only

2023-09-22 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=33fdf1afaea931eaa5dd14e6c097d7ffafe2fb1a commit 33fdf1afaea931eaa5dd14e6c097d7ffafe2fb1a Author: Mateusz Guzik AuthorDate: 2023-09-22 21:32:23 + Commit: Mateusz Guzik CommitDate: 2023-09-22 21:32

git: 02ef039c284b - main - vfs cache: Drop known argument of internal cache_recalc_neg_min()

2023-09-22 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=02ef039c284b8a7b1ea40f5f9a851a3cb6af5b31 commit 02ef039c284b8a7b1ea40f5f9a851a3cb6af5b31 Author: Olivier Certner AuthorDate: 2023-09-22 21:25:41 + Commit: Mateusz Guzik CommitDate: 2023-09-22 21

git: 02cbc029dac9 - main - vfs: fix reference counting/locking on LK_UPGRADE error

2023-09-22 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=02cbc029dac936b4ddbc38cef969c4b30c9a7d1f commit 02cbc029dac936b4ddbc38cef969c4b30c9a7d1f Author: Olivier Certner AuthorDate: 2023-09-22 20:57:20 + Commit: Mateusz Guzik CommitDate: 2023-09-22 20

git: c9130a46bca2 - main - drm2: whack set-but-not-used warns

2023-09-18 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=c9130a46bca272492b4f29429ed340504b8eced7 commit c9130a46bca272492b4f29429ed340504b8eced7 Author: Mateusz Guzik AuthorDate: 2023-09-18 21:11:26 + Commit: Mateusz Guzik CommitDate: 2023-09-18 21:11

Re: git: 6a47fa697ace - main - powerpc: Implement fpu_kern_enter/fpu_kern_leave

2023-09-17 Thread Mateusz Guzik
tch to >> enable ossl(4) on powerpc64*. >> >> Reviewed by:jhibbits >> MFC after: 2 weeks >> Differential Revision: https://reviews.freebsd.org/D41540 > > Submitted by: sanastasio_raptorengineering.com > > > I should have checked when I edited the commit message, and fixed it > back to the original author. Sorry about that, Shawn. > > - Justin > -- Mateusz Guzik

git: 9080190b970c - main - vfs: count how many times vnlru got woken up due to vnode shortage

2023-09-16 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=9080190b970c7026695571f90b95fdcf7056ec67 commit 9080190b970c7026695571f90b95fdcf7056ec67 Author: Mateusz Guzik AuthorDate: 2023-09-16 17:26:39 + Commit: Mateusz Guzik CommitDate: 2023-09-16 17:26

git: ef89b78bb1f6 - main - vfs: stabilize freevnodes_old

2023-09-16 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=ef89b78bb1f60484cc743fa590d623ad896ca8e9 commit ef89b78bb1f60484cc743fa590d623ad896ca8e9 Author: Mateusz Guzik AuthorDate: 2023-09-16 15:41:12 + Commit: Mateusz Guzik CommitDate: 2023-09-16 15:54

git: 49874af3eca6 - main - zfs: retire z_nr_znodes

2023-09-16 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=49874af3eca6fbbeb3967c737baa3478d6a4e967 commit 49874af3eca6fbbeb3967c737baa3478d6a4e967 Author: Mateusz Guzik AuthorDate: 2023-09-16 14:18:05 + Commit: Mateusz Guzik CommitDate: 2023-09-16 14:18

git: 509d843a982b - main - vfs: s/u_long vstir/bool vstir/

2023-09-16 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=509d843a982b39a531a558c65794cdf93ae8 commit 509d843a982b39a531a558c65794cdf93ae8 Author: Mateusz Guzik AuthorDate: 2023-09-16 08:19:24 + Commit: Mateusz Guzik CommitDate: 2023-09-16 08:19

git: d3e647891243 - main - vfs: group vnode-related sysctls under vfs.vnode

2023-09-16 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=d3e6478912431309aad36211b6c39b0d741312dc commit d3e6478912431309aad36211b6c39b0d741312dc Author: Mateusz Guzik AuthorDate: 2023-09-15 21:08:38 + Commit: Mateusz Guzik CommitDate: 2023-09-16 07:39

git: 2a689cadf092 - main - vfs: retire kern.minvnodes

2023-09-16 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=2a689cadf092a3319d7619c3f4aa242011c20c8e commit 2a689cadf092a3319d7619c3f4aa242011c20c8e Author: Mateusz Guzik AuthorDate: 2023-09-16 07:33:36 + Commit: Mateusz Guzik CommitDate: 2023-09-16 07:33

git: 03bfee175269 - main - vfs: use vnlru_read_freevnodes for the freevnodes sysctl

2023-09-14 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=03bfee175269960c67cab64d761bbb5eb9ac5878 commit 03bfee175269960c67cab64d761bbb5eb9ac5878 Author: Mateusz Guzik AuthorDate: 2023-09-14 23:53:11 + Commit: Mateusz Guzik CommitDate: 2023-09-15 00:06

git: ba5dc166e0f3 - main - vfs: retire vnlru_under_unlocked

2023-09-14 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=ba5dc166e0f390c703042910b637a83c705c8af3 commit ba5dc166e0f390c703042910b637a83c705c8af3 Author: Mateusz Guzik AuthorDate: 2023-09-14 23:05:51 + Commit: Mateusz Guzik CommitDate: 2023-09-14 23:05

git: 07f52c4b5a4f - main - vfs cache: garbage collect the fullpathfail2 counter

2023-09-14 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=07f52c4b5a4f7a658bf7ed29eadd5c4d52a4f3b2 commit 07f52c4b5a4f7a658bf7ed29eadd5c4d52a4f3b2 Author: Mateusz Guzik AuthorDate: 2023-09-14 20:25:54 + Commit: Mateusz Guzik CommitDate: 2023-09-14 20:34

git: 9dc0c983b093 - main - vfs: fix stale comment about freevnodes management

2023-09-14 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=9dc0c983b0931f359c2ff10d47ad835ef74e929a commit 9dc0c983b0931f359c2ff10d47ad835ef74e929a Author: Mateusz Guzik AuthorDate: 2023-09-14 17:28:32 + Commit: Mateusz Guzik CommitDate: 2023-09-14 17:29

git: 76f1153790b6 - main - vfs: don't kick vnlru if it is already running

2023-09-14 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=76f1153790b6d2e1a4f0389c3ac24e41d08f9ba6 commit 76f1153790b6d2e1a4f0389c3ac24e41d08f9ba6 Author: Mateusz Guzik AuthorDate: 2023-09-14 16:27:47 + Commit: Mateusz Guzik CommitDate: 2023-09-14 16:40

git: 74be676d8774 - main - vfs: drop one vnode list lock trip during vnlru free recycle

2023-09-14 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=74be676d87745eb727642f6f8329236c848929d5 commit 74be676d87745eb727642f6f8329236c848929d5 Author: Mateusz Guzik AuthorDate: 2023-09-14 14:35:40 + Commit: Mateusz Guzik CommitDate: 2023-09-14 15:03

git: a87c6962affc - main - ufs: restore name cache fast path lookup

2023-09-09 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=a87c6962affc2d1994d8f30806c934eb4cb7af22 commit a87c6962affc2d1994d8f30806c934eb4cb7af22 Author: Mateusz Guzik AuthorDate: 2023-09-09 21:48:57 + Commit: Mateusz Guzik CommitDate: 2023-09-09 21:48

git: ef545fe7ba66 - main - drm2: fix build after abs64 became global

2023-09-09 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=ef545fe7ba6628054765c81624bb5f95884d45f2 commit ef545fe7ba6628054765c81624bb5f95884d45f2 Author: Mateusz Guzik AuthorDate: 2023-09-09 20:50:55 + Commit: Mateusz Guzik CommitDate: 2023-09-09 20:50

git: 32988c1499f8 - main - vfs cache: fix a hang when bumping vnode limit too high

2023-09-02 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=32988c1499f8698b41e15ed40a46d271e757bba3 commit 32988c1499f8698b41e15ed40a46d271e757bba3 Author: Mateusz Guzik AuthorDate: 2023-09-02 14:27:33 + Commit: Mateusz Guzik CommitDate: 2023-09-02 14:45

git: f4296cfb409a - main - timerfd: convert timerfd_list_lock from sx to mtx

2023-09-02 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=f4296cfb409a48de00bfa60e76f686c2b031876f commit f4296cfb409a48de00bfa60e76f686c2b031876f Author: Mateusz Guzik AuthorDate: 2023-09-02 09:55:50 + Commit: Mateusz Guzik CommitDate: 2023-09-02 09:55

git: b2a48c3cf86d - main - pf: retire pf_krule_to_rule and pf_kpool_to_pool

2023-09-01 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=b2a48c3cf86d8593f42072c3df74f2f708fbd93b commit b2a48c3cf86d8593f42072c3df74f2f708fbd93b Author: Mateusz Guzik AuthorDate: 2023-09-01 18:12:41 + Commit: Mateusz Guzik CommitDate: 2023-09-01 18:18

git: 5eab523053db - main - timerfd: compute fflags before calling falloc

2023-08-25 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=5eab523053db79b4bd4f926c7d7ac0d9c1da commit 5eab523053db79b4bd4f926c7d7ac0d9c1da Author: Mateusz Guzik AuthorDate: 2023-08-25 15:09:21 + Commit: Mateusz Guzik CommitDate: 2023-08-25 15:09

git: 02f534b57f84 - main - timerfd: fix up a memory leak and missing locking

2023-08-25 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=02f534b57f84d6f4f97c337b05b383c8b3aaf18c commit 02f534b57f84d6f4f97c337b05b383c8b3aaf18c Author: Mateusz Guzik AuthorDate: 2023-08-25 14:21:39 + Commit: Mateusz Guzik CommitDate: 2023-08-25 14:46

git: 712806fc4b54 - main - vfs: retried++ -> retried = true for the boolean

2023-08-24 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=712806fc4b5470eb7d9ce537e3cdf3b386455d86 commit 712806fc4b5470eb7d9ce537e3cdf3b386455d86 Author: Mateusz Guzik AuthorDate: 2023-08-24 22:49:47 + Commit: Mateusz Guzik CommitDate: 2023-08-24 22:50

git: c1d85ac3df82 - main - vfs: try harder to find free vnodes when recycling

2023-08-24 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=c1d85ac3df82df721e3d33b292579c4de491488e commit c1d85ac3df82df721e3d33b292579c4de491488e Author: Mateusz Guzik AuthorDate: 2023-08-24 05:34:08 + Commit: Mateusz Guzik CommitDate: 2023-08-24 22:12

git: 64e881f2db96 - main - vfs: track how many times vn_alloc blocked on hitting the vnode limit

2023-08-18 Thread Mateusz Guzik
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=64e881f2db968bf10c4aa22668ea270e1b9dd3c1 commit 64e881f2db968bf10c4aa22668ea270e1b9dd3c1 Author: Mateusz Guzik AuthorDate: 2023-08-18 23:56:58 + Commit: Mateusz Guzik CommitDate: 2023-08-18 23:56

Re: git: 077ef5b445f1 - main - ath(4): Remove MIPS SoC build glue and AR9130 from FreeBSD HAL

2023-08-10 Thread Mateusz Guzik
On 8/10/23, Mateusz Guzik wrote: > On 8/9/23, Marius Strobl wrote: >> The branch main has been updated by marius: >> >> URL: >> https://cgit.FreeBSD.org/src/commit/?id=077ef5b445f10f41723b63ab9c24a9809c61afb8 >> >> commit 077ef5b445f10f41723b63ab9c24a9

Re: git: 077ef5b445f1 - main - ath(4): Remove MIPS SoC build glue and AR9130 from FreeBSD HAL

2023-08-10 Thread Mateusz Guzik
= ar5416AdcDcCalCollect, > - .calPostProc= ar5416AdcDcCalibration > -}; > -static const HAL_PERCAL_DATA ar9130_adc_init_dc_cal = { > - .calName = "ADC Init DC", .calType = ADC_DC_INIT_CAL, > - .calNumSamples = MIN_CAL_SAMPLES, > - .calCountMax= INIT_LOG_COUNT, > - .calCollect = ar5416AdcDcCalCollect, > - .calPostProc= ar5416AdcDcCalibration > -}; > - > -static HAL_BOOL ar9130FillCapabilityInfo(struct ath_hal *ah); > - > -/* > - * Attach for an AR9130 part. > - */ > -static struct ath_hal * > -ar9130Attach(uint16_t devid, HAL_SOFTC sc, > - HAL_BUS_TAG st, HAL_BUS_HANDLE sh, uint16_t *eepromdata, > - HAL_OPS_CONFIG *ah_config, > - HAL_STATUS *status) > -{ > - struct ath_hal_5416 *ahp5416; > - struct ath_hal_5212 *ahp; > - struct ath_hal *ah; > - uint32_t val; > - HAL_STATUS ecode; > - HAL_BOOL rfStatus; > - > - HALDEBUG(AH_NULL, HAL_DEBUG_ATTACH, "%s: sc %p st %p sh %p\n", > - __func__, sc, (void*) st, (void*) sh); > - > - /* NB: memory is returned zero'd */ > - ahp5416 = ath_hal_malloc(sizeof (struct ath_hal_5416)); > - if (ahp5416 == AH_NULL) { > - HALDEBUG(AH_NULL, HAL_DEBUG_ANY, > - "%s: cannot allocate memory for state block\n", __func__); > - *status = HAL_ENOMEM; > - return AH_NULL; > - } > - ar5416InitState(ahp5416, devid, sc, st, sh, status); > - ahp = &ahp5416->ah_5212; > - ah = &ahp->ah_priv.h; > - > - /* XXX override with 9100 specific state */ > - AH5416(ah)->ah_initPLL = ar9130InitPLL; > - /* XXX should force chainmasks to 0x7, as per ath9k calibration bugs */ > - > - /* override 5416 methods for our needs */ > - > - AH5416(ah)->ah_cal.iqCalData.calData = &ar9130_iq_cal; > - AH5416(ah)->ah_cal.adcGainCalData.calData = &ar9130_adc_gain_cal; > - AH5416(ah)->ah_cal.adcDcCalData.calData = &ar9130_adc_dc_cal; > - AH5416(ah)->ah_cal.adcDcCalInitData.calData = &ar9130_adc_init_dc_cal; > - AH5416(ah)->ah_cal.suppCals = ADC_GAIN_CAL | ADC_DC_CAL | > IQ_MISMATCH_CAL; > - > - /* > - * This was hard-set because the initial ath9k port of this > - * code kept their runtime conditional register #defines. > - * AR_SREV and the RTC registers have shifted for Howl; > - * they detected this and changed the values at runtime. > - * The current port doesn't yet do this; it may do at a > - * later stage, so this is set early so any routines which > - * manipulate the registers have ah_macVersion set to base > - * the above decision upon. > - */ > - AH_PRIVATE((ah))->ah_macVersion = AR_XSREV_VERSION_HOWL; > - > - /* > - * Use the "local" EEPROM data given to us by the higher layers. > - * This is a private copy out of system flash. > - * By this stage the SoC SPI flash may have disabled the memory- > - * mapping and rely purely on port-based SPI IO. > - */ > - AH_PRIVATE((ah))->ah_eepromRead = ath_hal_EepromDataRead; > - AH_PRIVATE((ah))->ah_eepromWrite = NULL; > - ah->ah_eepromdata = eepromdata; > - > - if (!ar5416SetResetReg(ah, HAL_RESET_POWER_ON)) { > - /* reset chip */ > - HALDEBUG(ah, HAL_DEBUG_ANY, "%s: couldn't reset chip\n", > - __func__); > - ecode = HAL_EIO; > - goto bad; > - } > - > - if (!ar5416SetPowerMode(ah, HAL_PM_AWAKE, AH_TRUE)) { > - HALDEBUG(ah, HAL_DEBUG_ANY, "%s: couldn't wakeup chip\n", > *** 380 LINES SKIPPED *** > -- Mateusz Guzik

Re: git: cd25b0f740f8 - main - zfs: cherry-pick fix from openzfs

2023-08-10 Thread Mateusz Guzik
while ((lwb = list_remove_head(ilwbs)) > @@ -3096,7 +3116,7 @@ zil_commit_waiter_timeout(zilog_t *zilog, > zil_commit_waiter_t *zcw) >* since we've reached the commit waiter's timeout and it still >* hasn't been issued. >*/ > - lwb_t *nlwb = zil_lwb_write_close(zilog, lwb); > + lwb_t *nlwb = zil_lwb_write_close(zilog, lwb, NULL); > > ASSERT3S(lwb->lwb_state, !=, LWB_STATE_OPENED); > > -- Mateusz Guzik

  1   2   3   4   5   6   7   8   9   10   >