Re: mmap and MAP_STACK

2020-10-21 Thread Nick Kostirya via freebsd-stable
On Wed, 21 Oct 2020 18:28:44 +0300 Konstantin Belousov wrote: > > > > kdump with MAP_STACK. > > > > 87183 polyimport CALL > > mmap(0,0x1000,0x3,0x1402,0x,0,0) > > 87183 polyimport RET mmap -1 errno 22 Invalid argument > So it is anything but 'insufficient memory' (I suspected E

Re: mmap and MAP_STACK

2020-10-21 Thread Nick Kostirya via freebsd-stable
On Wed, 21 Oct 2020 17:16:57 +0300 Konstantin Belousov wrote: > On Wed, Oct 21, 2020 at 04:53:11PM +0300, Nick Kostirya via freebsd-stable > wrote: > > Hello. > > I have question about mmap. > > > > void *OSMem::AllocateDataArea(size_t &space) > > { >

mmap and MAP_STACK

2020-10-21 Thread Nick Kostirya via freebsd-stable
Hello. I have question about mmap. void *OSMem::AllocateDataArea(size_t &space) { // Round up to an integral number of pages. space = (space + pageSize-1) & ~(pageSize-1); int fd = -1; // This value is required by FreeBSD. Linux doesn't care int flags = MAP_PRIVATE | MAP_ANON; #if

Re: BerkeleyDB Hash vs Btree on FreeBSD and Linux

2020-07-03 Thread Nick Kostirya via freebsd-stable
00:00:42 +0800 Li-Wen Hsu wrote: > On Wed, Jul 1, 2020 at 8:07 PM Nick Kostirya via freebsd-stable > wrote: > > > > On Wed, 1 Jul 2020 18:20:19 +0800 > > Li-Wen Hsu wrote: > > > > > On Wed, Jul 1, 2020 at 6:07 PM Nick Kostirya via freebsd-st

Re: BerkeleyDB Hash vs Btree on FreeBSD and Linux

2020-07-01 Thread Nick Kostirya via freebsd-stable
On Wed, 1 Jul 2020 18:20:19 +0800 Li-Wen Hsu wrote: > On Wed, Jul 1, 2020 at 6:07 PM Nick Kostirya via freebsd-stable > wrote: > > > > Hello. > > > > I noticed that BerkeleyDB Hash is VERY slow compared to BerkeleyDB Btree on > > FreeBSD (UFS or ZFS). > &

BerkeleyDB Hash vs Btree on FreeBSD and Linux

2020-07-01 Thread Nick Kostirya via freebsd-stable
Hello. I noticed that BerkeleyDB Hash is VERY slow compared to BerkeleyDB Btree on FreeBSD (UFS or ZFS). But they (Hash and Btree) have roughly the same performance on Linux. Why? ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/ma

wlan RTL8812B

2020-01-09 Thread Nick Kostirya via freebsd-stable
Hello. I see FreeBSD do support RTL8812A by help rtwn driver. RTL8812B also is aupported? Nick. P.S. I do not need Multi-user MIMO. ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, s

FreeBSD 12 and PS/2 trackpoint

2019-12-10 Thread Nick Kostirya via freebsd-stable
Hello. I have thinkpad laptop. PS/2 trackpoint is worked on FreeBSD 11. But it is not worked on FreeBSD 12 (12.1-RELEASE-p1 i386). > dmesg -a | grep psm psm0: failed to get status. psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 psm0: failed to enable th