Page MenuHomeFreeBSD
Feed Advanced Search

Nov 21 2018

sobomax created D18290: readelf --debug-dump=decodedline produces incorrect results.
Nov 21 2018, 3:40 PM

Nov 7 2018

sobomax committed rS340220: Revert r340187, it breaks EOD (end-of-device) detection logic. Turns out,.
Revert r340187, it breaks EOD (end-of-device) detection logic. Turns out,
Nov 7 2018, 4:28 PM

Nov 6 2018

sobomax committed rS340187: Don't allow BIO_READ, BIO_WRITE or BIO_DELETE requests that are.
Don't allow BIO_READ, BIO_WRITE or BIO_DELETE requests that are
Nov 6 2018, 3:55 PM

Oct 1 2018

sobomax committed rS339066: MFC r309554 and r309631 which breaks down overly long monolithic.
MFC r309554 and r309631 which breaks down overly long monolithic
Oct 1 2018, 5:26 PM

Sep 12 2018

sobomax committed rS338617: MFC r312296 and r323254, which is new a socket option.
MFC r312296 and r323254, which is new a socket option
Sep 12 2018, 6:52 PM

Jul 23 2018

sobomax accepted D16115: geli init multiple providers.

Looks good to me.

Jul 23 2018, 5:33 PM

Jun 26 2018

sobomax accepted D12644: geli attach multiple providers (no kernel changes).

Looks fine to me. Just two small code nits.

Jun 26 2018, 3:39 PM

Nov 12 2017

sobomax added inline comments to D9396: geli attach multiple providers (with kernel changes).
Nov 12 2017, 1:04 PM
sobomax added inline comments to D9396: geli attach multiple providers (with kernel changes).
Nov 12 2017, 1:33 AM
sobomax requested changes to D9396: geli attach multiple providers (with kernel changes).
Nov 12 2017, 1:25 AM

Nov 3 2017

sobomax committed rP453406: Fix build on FreeBSD 10.3 (compiler lacks -R option)..
Fix build on FreeBSD 10.3 (compiler lacks -R option).
Nov 3 2017, 1:21 PM

Sep 8 2017

sobomax committed rS323322: Correct bintime32 declaration: uint32_t sec -> time32_t sec..
Correct bintime32 declaration: uint32_t sec -> time32_t sec.
Sep 8 2017, 6:32 PM

Sep 7 2017

sobomax committed rS323254: In the recvmsg32() system call iterate over returned structure(s).
In the recvmsg32() system call iterate over returned structure(s)
Sep 7 2017, 4:30 AM

Aug 30 2017

sobomax committed rS323019: Add proper support for the md_label into md(4) ioctl compat layer..
Add proper support for the md_label into md(4) ioctl compat layer.
Aug 30 2017, 3:07 PM

Aug 28 2017

sobomax committed rS322983: MFC r320048+r320301+r320277:.
MFC r320048+r320301+r320277:
Aug 28 2017, 8:55 PM
sobomax committed rS322969: Add ability to label md(4) devices..
Add ability to label md(4) devices.
Aug 28 2017, 3:54 PM
sobomax closed D10457: Add ability to label md(4) devices by committing rS322969: Add ability to label md(4) devices..
Aug 28 2017, 3:54 PM

Aug 25 2017

sobomax committed rS322896: Make spinconsole platform independent and hook it up into EFI loader on.
Make spinconsole platform independent and hook it up into EFI loader on
Aug 25 2017, 5:30 PM

Jun 23 2017

sobomax committed rS320301: Doh, fix some botched "fix" in r320277..
Doh, fix some botched "fix" in r320277.
Jun 23 2017, 11:11 PM
sobomax committed rS320277: Don't leak file descriptor in some cases..
Don't leak file descriptor in some cases.
Jun 23 2017, 5:39 PM

Jun 17 2017

sobomax committed rS320048: o Move logic that determines size of the input image into its own.
o Move logic that determines size of the input image into its own
Jun 17 2017, 2:58 AM

Jun 16 2017

sobomax closed D10852: Document st_flags in the stat(2). by committing rS320004: Document st_flags in the stat(2)..
Jun 16 2017, 3:10 PM
sobomax committed rS320004: Document st_flags in the stat(2)..
Document st_flags in the stat(2).
Jun 16 2017, 3:10 PM

Jun 15 2017

sobomax committed rP443640: Fix "400 Bad Request" with latest incarnation of project's svn.
Fix "400 Bad Request" with latest incarnation of project's svn
Jun 15 2017, 8:56 PM
sobomax added a comment to D11025: Extend struct kevent fields and add absolute timers..
In D11025#232116, @kib wrote:

@kib how difficult is it to also implement real NOTE_MONOTONIC, i.e. event that expires in monotonic time from the getgo? I think this would be very useful for real-world applications that care about precise timekeeping. We use CLOCK_MONOTONIC pretty much all across our code here. Yes, it can be added later on, but without it the API is somewhat incomplete IMHO.

In which way would this timer different from the existing timers without NOTE_ABSTIME flag ?

Jun 15 2017, 8:37 PM
sobomax added a comment to D11025: Extend struct kevent fields and add absolute timers..
In D11025#228355, @kib wrote:
In D11025#228344, @ed wrote:

One suggestion, though: instead of calling this NOTE_MONOTONIC, would it make sense to use NOTE_ABSTIME instead?

NOTE_MONOTONIC sounds as if it uses CLOCK_MONOTONIC under the hood, even though your implementation still uses CLOCK_REALTIME, right?

Apple uses NOTE_ABSOLUTE, but their API is different from us, and from my understanding, glib maintainers, who asked for this feature, do not like Apple' edge-triggering feature of NOTE_ABSOLUTE.

I will rename the flag to NOTE_ABSTIME on next patch update.

Jun 15 2017, 7:45 PM

May 23 2017

sobomax added a comment to D10852: Document st_flags in the stat(2)..

Adjusted a bit as suggested.

May 23 2017, 2:06 AM
sobomax updated the diff for D10852: Document st_flags in the stat(2)..

Re-phrase a bit based on suggestions.

May 23 2017, 1:47 AM

May 22 2017

sobomax created D10852: Document st_flags in the stat(2)..
May 22 2017, 5:02 AM
sobomax added inline comments to D10457: Add ability to label md(4) devices.
May 22 2017, 4:41 AM
sobomax updated the diff for D10457: Add ability to label md(4) devices.

Reformat in-line example based on input from wblock.

May 22 2017, 4:39 AM
sobomax added inline comments to D10480: Add option to limit output image to a certain size.
May 22 2017, 4:28 AM

May 14 2017

sobomax committed rS318268: MFC r316874: restore ability to shutdown(2) datagram sockets..
MFC r316874: restore ability to shutdown(2) datagram sockets.
May 14 2017, 12:42 PM
sobomax committed rS318265: MFC r316718, r316738: make mksnap_ffs functional in the chroot'ed environment..
MFC r316718, r316738: make mksnap_ffs functional in the chroot'ed environment.
May 14 2017, 10:48 AM

Apr 25 2017

sobomax committed rP439415: Add perceptualdiff, a program that compares two images using a perceptually.
Add perceptualdiff, a program that compares two images using a perceptually
Apr 25 2017, 7:05 PM

Apr 24 2017

sobomax created D10480: Add option to limit output image to a certain size.
Apr 24 2017, 4:56 PM

Apr 23 2017

sobomax added inline comments to D10457: Add ability to label md(4) devices.
Apr 23 2017, 1:57 AM
sobomax updated the diff for D10457: Add ability to label md(4) devices.

Improve wording as suggested by the rpokala, bcr & bjk.

Apr 23 2017, 1:45 AM
sobomax added inline comments to D10457: Add ability to label md(4) devices.
Apr 23 2017, 1:42 AM

Apr 22 2017

sobomax added a comment to D10457: Add ability to label md(4) devices.

I've checked both forward and backward compatibility (3-way actually, old mdconfig+new kernel, old kernel + new mdconfig, new mdconfig+new kernel) everything seems to be working properly.

Apr 22 2017, 4:07 AM
sobomax added a comment to D10457: Add ability to label md(4) devices.
In D10457#216855, @imp wrote:

Love this idea, but the padding issue needs to be resolved.

Apr 22 2017, 4:05 AM
sobomax created D10457: Add ability to label md(4) devices.
Apr 22 2017, 3:50 AM

Apr 15 2017

sobomax committed rS316973: Fix another logic bug that came out of recent syslogd refactoring and exposed by.
Fix another logic bug that came out of recent syslogd refactoring and exposed by
Apr 15 2017, 6:20 PM
sobomax committed rS316951: Since shutdown(2) on datagram socket is no longer a NOP after rev 316874.
Since shutdown(2) on datagram socket is no longer a NOP after rev 316874
Apr 15 2017, 2:24 AM

Apr 14 2017

sobomax committed rS316874: Restore ability to shutdown DGRAM sockets, still forcing ENOTCONN to be returned.
Restore ability to shutdown DGRAM sockets, still forcing ENOTCONN to be returned
Apr 14 2017, 5:23 PM
sobomax closed D10351: Restore ability to shutdown datagram sockets by committing rS316874: Restore ability to shutdown DGRAM sockets, still forcing ENOTCONN to be returned.
Apr 14 2017, 5:23 PM

Apr 13 2017

sobomax updated the diff for D10351: Restore ability to shutdown datagram sockets.

Collapse if/return/else/return into a single return statement.

Apr 13 2017, 4:47 PM
sobomax updated the diff for D10351: Restore ability to shutdown datagram sockets.

Rework previous change to restore ability to shutdown datagram
sockets to be easier to understand and put a comment explaining
what's going on and why.

Apr 13 2017, 4:39 PM
sobomax updated the summary of D10351: Restore ability to shutdown datagram sockets.
Apr 13 2017, 4:11 AM

Apr 12 2017

sobomax committed rP438413: Add debugedit - ELF file debug information extractor and editor..
Add debugedit - ELF file debug information extractor and editor.
Apr 12 2017, 8:49 PM
sobomax committed rS316738: Fix an issue in the rev.316718 causing variable to be unsed uninitialized..
Fix an issue in the rev.316718 causing variable to be unsed uninitialized.
Apr 12 2017, 7:23 PM

Apr 11 2017

sobomax committed rS316718: Work around an issue with mksnap_ffs not working in chroot'ed environment..
Work around an issue with mksnap_ffs not working in chroot'ed environment.
Apr 11 2017, 9:55 PM

Apr 10 2017

sobomax updated the summary of D10351: Restore ability to shutdown datagram sockets.
Apr 10 2017, 6:08 PM
sobomax updated the summary of D10351: Restore ability to shutdown datagram sockets.
Apr 10 2017, 6:04 PM
sobomax updated the summary of D10351: Restore ability to shutdown datagram sockets.
Apr 10 2017, 6:03 PM
sobomax updated the summary of D10351: Restore ability to shutdown datagram sockets.
Apr 10 2017, 6:02 PM
sobomax created D10351: Restore ability to shutdown datagram sockets.
Apr 10 2017, 6:01 PM
sobomax requested changes to D3039: Make shutdown() return ENOTCONN as required by POSIX, part deux..
Apr 10 2017, 2:54 PM
sobomax reopened D3039: Make shutdown() return ENOTCONN as required by POSIX, part deux..

I think Ed's comparison with other OSes here and in the relevant differential was not entirely correct. What linux does (tested with 4.4.0) when UDP socket is shut down is actually shutting down receiving end, so any threads that are blocked in recv() on that socket return. Still shutdown() system call itself returns ENOTCONN. FreeBSD on the other hand does not do anything for the socket, so that the threads just hang. I am pretty sure there are at least some software out there that relies on that behavior, at least in our case we do. Bumped into this after upgrading to the 11.0.

Apr 10 2017, 2:52 PM

Mar 1 2017

sobomax abandoned D9839: Extend find(1)'s -cmin/-amin/-mmin options to take units as part of the argument..

Looks like necessary functionality is already part of the -atime/-ctime/-mtime.

Mar 1 2017, 2:39 AM

Feb 28 2017

sobomax updated D9839: Extend find(1)'s -cmin/-amin/-mmin options to take units as part of the argument..
Feb 28 2017, 9:22 PM
sobomax retitled D9839: Extend find(1)'s -cmin/-amin/-mmin options to take units as part of the argument. from to Extend find(1)'s -cmin/-amin/-mmin options to take units as part of the argument..
Feb 28 2017, 9:21 PM

Jan 20 2017

sobomax added a comment to D9171: New socket option SO_CLOCKTYPE to pick from several different clock sources to fill timestamps from.

Please also bump .Dd in getsockopt.2. Thanks!

Jan 20 2017, 6:38 PM
sobomax committed rS312554: Improve wording around SO_TS_CLOCK documentation..
Improve wording around SO_TS_CLOCK documentation.
Jan 20 2017, 6:37 PM

Jan 16 2017

sobomax committed rS312296: Add a new socket option SO_TS_CLOCK to pick from several different clock.
Add a new socket option SO_TS_CLOCK to pick from several different clock
Jan 16 2017, 5:47 PM
sobomax closed D9171: New socket option SO_CLOCKTYPE to pick from several different clock sources to fill timestamps from by committing rS312296: Add a new socket option SO_TS_CLOCK to pick from several different clock.
Jan 16 2017, 5:47 PM

Jan 15 2017

sobomax added inline comments to D9171: New socket option SO_CLOCKTYPE to pick from several different clock sources to fill timestamps from.
Jan 15 2017, 7:25 PM
sobomax added a comment to D9171: New socket option SO_CLOCKTYPE to pick from several different clock sources to fill timestamps from.

hiya,

cool. +1 from me.

can this be used to pass up per-packet timestamps from an underlying hardware device? Right now it looks like it's getting timestamped in the IP stack.

eg, if I craft up a way to say, provide a PHY/MAC timestamp and BSSID from a wifi driver up in the mbufs up to the IP stack, it'd be nice to have a socket option to have that data be attached.

Jan 15 2017, 8:18 AM
sobomax added inline comments to D9171: New socket option SO_CLOCKTYPE to pick from several different clock sources to fill timestamps from.
Jan 15 2017, 6:45 AM
sobomax updated the diff for D9171: New socket option SO_CLOCKTYPE to pick from several different clock sources to fill timestamps from.

Move so_options before padding. Should not be really necessary, that padding is for lower layers to use I think, not really to protect the structure size. But it does not hurt.

Jan 15 2017, 6:43 AM

Jan 14 2017

sobomax abandoned D8582: Bump so_options storage from "short" to "int" to match optname argument type in get/setsockopt system calls.

Not necessary it turns out.

Jan 14 2017, 11:43 PM
sobomax retitled D9171: New socket option SO_CLOCKTYPE to pick from several different clock sources to fill timestamps from from New socket option SO_CLOCKTYPE to pick from several different clock sources to return timestamps to New socket option SO_CLOCKTYPE to pick from several different clock sources to fill timestamps from.
Jan 14 2017, 10:54 PM
sobomax retitled D9171: New socket option SO_CLOCKTYPE to pick from several different clock sources to fill timestamps from from to New socket option SO_CLOCKTYPE to pick from several different clock sources to return timestamps.
Jan 14 2017, 2:21 AM

Jan 12 2017

sobomax committed rS311974: Fix slight type mismatch between so_options defined in sys/socketvar.h.
Fix slight type mismatch between so_options defined in sys/socketvar.h
Jan 12 2017, 10:15 AM

Dec 9 2016

sobomax committed rS309773: Check that SCM_XXX timestamp returned by the kernel is less 1 second.
Check that SCM_XXX timestamp returned by the kernel is less 1 second
Dec 9 2016, 10:13 PM

Dec 6 2016

sobomax committed rS309631: Auto-generate 2 test cases that differ only in structure and SCM_XXX constant.
Auto-generate 2 test cases that differ only in structure and SCM_XXX constant
Dec 6 2016, 6:22 PM

Dec 5 2016

sobomax committed rS309554: Refactor the regression test code by splitting huge monolithic C.
Refactor the regression test code by splitting huge monolithic C
Dec 5 2016, 5:21 PM

Nov 19 2016

sobomax updated D8582: Bump so_options storage from "short" to "int" to match optname argument type in get/setsockopt system calls.
Nov 19 2016, 5:31 PM
sobomax retitled D8582: Bump so_options storage from "short" to "int" to match optname argument type in get/setsockopt system calls from to Bump so_options storage from "short" to "int" to match optname argument type in get/setsockopt system calls.
Nov 19 2016, 5:29 PM

Aug 18 2016

sobomax committed rD49310: Update my PGP key as advised by FreeBSD admins..
Update my PGP key as advised by FreeBSD admins.
Aug 18 2016, 1:03 AM

Jul 30 2016

sobomax committed rP419293: Upgrade to 1.0.2..
Upgrade to 1.0.2.
Jul 30 2016, 1:02 AM

Jul 29 2016

sobomax committed rP419279: Oops, fix CATEGORY to match..
Oops, fix CATEGORY to match.
Jul 29 2016, 11:29 PM
sobomax committed rP419278: Add libg722, a software G.722 decoding/encoding library that is.
Add libg722, a software G.722 decoding/encoding library that is
Jul 29 2016, 11:28 PM

Jul 21 2016

sobomax committed rS303167: MFC: merge in all new features and improvements into geom_uzip(8) from current,.
MFC: merge in all new features and improvements into geom_uzip(8) from current,
Jul 21 2016, 11:49 PM

Jul 20 2016

sobomax committed rS303095: MFC: merge in all new features and improvements into mkuzip(8) from current,.
MFC: merge in all new features and improvements into mkuzip(8) from current,
Jul 20 2016, 4:36 PM

Jul 18 2016

sobomax reopened D6208: [geom] g_label_ufs may not find UFS1 header in case of usage GEOM_UZIP.

@butcher says some improvements might be needed:

Jul 18 2016, 8:38 PM
sobomax updated subscribers of D6208: [geom] g_label_ufs may not find UFS1 header in case of usage GEOM_UZIP.
Jul 18 2016, 8:35 PM
sobomax closed D6249: [BHND SoC] Enable interrupts for Broadcom MIPS processor.

BB

Jul 18 2016, 5:11 AM
sobomax accepted D6249: [BHND SoC] Enable interrupts for Broadcom MIPS processor.

This has been integrated already. GC this for good, so it does not stick in the middle of my list. :)

Jul 18 2016, 5:11 AM
sobomax committed rS302985: Relax checking if the privider size matches size recorded in the.
Relax checking if the privider size matches size recorded in the
Jul 18 2016, 5:00 AM
sobomax closed D6208: [geom] g_label_ufs may not find UFS1 header in case of usage GEOM_UZIP by committing rS302985: Relax checking if the privider size matches size recorded in the.
Jul 18 2016, 5:00 AM
sobomax abandoned D7001: Cleanup around SMT / HTT detection and enable/disable functionality. Make logical/physical distinction available during early boot, before we launch APs.

Yes, ok, looks like the world has taken another turn, I'll look into adapting some of the techniques for igb/ix to align interrupts properly.

Jul 18 2016, 4:02 AM
sobomax committed rS302978: Don't print same value twice, one in decimal once in hex. This makes.
Don't print same value twice, one in decimal once in hex. This makes
Jul 18 2016, 3:59 AM

Jul 8 2016

sobomax added a comment to D7001: Cleanup around SMT / HTT detection and enable/disable functionality. Make logical/physical distinction available during early boot, before we launch APs.

Thanks @jhb for explanation. Would you mind sharing your ixgbe patches? Put them here as a review request for example or just email to me directly, so that I won't reinvent the wheel. Thanks!

Jul 8 2016, 6:05 AM

Jun 29 2016

sobomax closed D7013: Fix some bugs in the geom_uzip, improve handling of the last-sector padding, add some tuning knobs. by committing rS302284: 1.Improve handling around last compressed block of the file, which is.
Jun 29 2016, 6:19 PM
sobomax committed rS302284: 1.Improve handling around last compressed block of the file, which is.
1.Improve handling around last compressed block of the file, which is
Jun 29 2016, 6:19 PM

Jun 28 2016

sobomax added a comment to D7001: Cleanup around SMT / HTT detection and enable/disable functionality. Make logical/physical distinction available during early boot, before we launch APs.

@jhb in case if you are curious, here is the corresponding diff for the igb(4) driver. Not only it solves two issues that I've outlined already (i.e. popping up too many MSIX threads when on small hardware and not distributing threads properly WRT SMTs on high-end system), but also exports binding information into the userland so that we can see which queue handler is bound where and use it in our application to bind its netmap threads accordingly.

Jun 28 2016, 9:00 PM
sobomax added a reviewer for D7013: Fix some bugs in the geom_uzip, improve handling of the last-sector padding, add some tuning knobs.: releng.
Jun 28 2016, 7:29 PM
sobomax retitled D7013: Fix some bugs in the geom_uzip, improve handling of the last-sector padding, add some tuning knobs. from to Fix some bugs in the geom_uzip, improve handling of the last-sector padding, add some tuning knobs..
Jun 28 2016, 7:21 PM
sobomax added a comment to D7001: Cleanup around SMT / HTT detection and enable/disable functionality. Make logical/physical distinction available during early boot, before we launch APs.
In D7001#146824, @jhb wrote:
  1. Drivers are supposed to use bus_get_cpus() going forward and not directly inspect SMT vs not. The policy of what ends up in INTR_CPUS shouldn't belong in device drivers like igb(4) directly. It should belong elsewhere, and bus_get_cpus() allows that policy to be defined outside of individual drivers. Today INTR_CPUS excludes SMT threads by default and only includes CPUS "local" to the device in NUMA systems.
Jun 28 2016, 5:51 PM