Hi,How do I enable the MAP_SYNC flag in mmap for linux 4.15, my code does not
compile with that flag on linux 4.15.0-041500rc7-generic #201801072330
Also, how do I make mmap support map size of 2GB or larger, currently the call
to mmap fails with mapsize of 2GB.
thanks,
David
Thanks Valdis.Looks like the failure is that I can not write to a 2GB buffer
(char bf[2GB size]).Where do I get the distro include file?
On Thursday, July 12, 2018, 2:58:49 PM EDT, valdis.kletni...@vt.edu
wrote:
On Thu, 12 Jul 2018 18:44:43 -, David Frank said:
> Hi,How d
,
wrote:
On Thu, 12 Jul 2018 20:10:36 -, David Frank said:
> Thanks Valdis.Looks like the failure is that I can not write to a 2GB buffer
> (char bf[2GB size]).Where do I get the distro include file?
>From the same exact place you got the distro kernel from. (I'm guessing
, David Frank said:
> I got it from hereHow To Install Kernel 4.15 RC7 on Ubuntu, Linux Mint,
>Elementary OS And Other Ubuntu Derivatives | LinuxG.net
Looks like you got the linux-image-... .deb but didn't do the linux-headers-...
.deb(s).
(And I have no idea why they list 2 different li
Thursday, July 12, 2018, 2:58:49 PM EDT, valdis.kletni...@vt.edu
wrote:
On Thu, 12 Jul 2018 18:44:43 -, David Frank said:
> Hi,How do I enable the MAP_SYNC flag in mmap for linux 4.15, my code does not
> compile with that flag on linux 4.15.0-041500rc7-generic #201801072330
Get your dis
Hi,
I installed LTS 18.04 with headers. I'm trying to use the new flag MAP_SYNC
with mmap call, but it complained MAP_SYNC undefined.What #define do I need to
enable this?
Thanks,
David
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
h
don't have
to call msync function, which would boost performance.
On Monday, July 16, 2018, 10:04:54 PM EDT, wrote:
On Tue, 17 Jul 2018 00:57:31 -0000, David Frank said:
> I installed LTS 18.04 with headers. I'm trying to use the new flag MAP_SYNC
> with mmap ca
Right. That makes sense.
On Monday, July 16, 2018, 7:27:18 PM PDT, valdis.kletni...@vt.edu
wrote:
On Tue, 17 Jul 2018 02:15:17 -, David Frank said:
> inking. I'm checking out if the flag does what is is said to do-- I don't
> have
> to call msync function
Hi,According to the instruction, I have to mount a huge directory to hugetlbfs
and create file in the huge directory to use the mmap huge page feature. But
the issue is that, the files in the huge directory takes up the huge pages
configured throughvm.nr_hugepages =
even the files are not used
Thanks Mike. I read the doc, which is not explicit on the non used file
taking up huge page count
On Tuesday, July 17, 2018, 4:57:04 PM PDT, Mike Kravetz
wrote:
On 07/17/2018 12:05 PM, David Frank wrote:
> Hi,
> According to the instruction, I have to mount a huge direct
Hi,
I'm memcpy data into mmaped address with 2GB file, after a few files, it would
fault with the following stack dump:
received signal SIGSEGV, Segmentation fault.[Switching to Thread 0x75e95700
(LWP 3028)]
__memmove_avx_unaligned_erms ()
at ../sysdeps/x86_64/multiarch/memmove-vec-unali
11 matches
Mail list logo