Re: newly add MAP_SYNC flag to mmap

2018-07-16 Thread Alex Arvelaez
16.07.2018 10:15 PM David Frank napisał(a): > > Thanks Valdis. > > Yes, I got the kernel and header files installed. > > But there seems to be a lot of mman.h. I found one in > /usr/include/asm-generic that defined MAP_SYNC, and I included it also, now I > got passed compile and linking. I

Re: Question about memcpy

2018-07-07 Thread Alex Arvelaez
On Jul 7, 2018 7:37 AM, bing zhu wrote: > > Dear Sir/Ma'am > Thank you for your time ,i'm a student new to linux kernel. > I have a question about memcpy,i noticed that memcpy is faster in kernel than > in user space > for example : > in a module helloworld , i use memcpy to copy a 4096B to a

Re: where to send patch

2018-05-07 Thread Alex Arvelaez
On May 7, 2018 5:23 PM, Sumit Kumar wrote: > >     Hi, > > When I use get_maintainer.pl script it give a list of names / addresses. > >1. Should I send to only one of them Send it to all of them, otherwise it's more likely it'll be lost in the noise. > 2. Should I put the

Re: how to identify kernel build in grub menu

2018-04-29 Thread Alex Arvelaez
On Apr 29, 2018 9:51 AM, Sumit Kumar wrote: > > Hi, > > I built a kernel for the first time following this guide : > https://kernelnewbies.org/OutreachyfirstpatchSetup > > I rebooted my ubuntu machine and went to the grub menu and then chose > advanced option menu. I could

Re: make olddefconfig cmd failing

2018-04-21 Thread Alex Arvelaez
On Apr 21, 2018 7:11 AM, Sumit Kumar wrote: > > Hi, > > I was following instructions given on this web page: > https://kernelnewbies.org/OutreachyfirstpatchSetup > > I get errors when I execute make olddefconfig cmd: > >

Re: Problem installing kernel due to virtualbox?

2018-03-14 Thread Alex Arvelaez
> I've been AWOL working on other things for an age, so just getting back up to > speed and building a kernel. Everything built successfully but when I try to > install the kernel (64bit laptop) it fails due to a virtualbox error. > > ERROR (dkms apport): kernel package

Re: QEMU environment setup for Linux Kernel

2018-03-07 Thread Alex Arvelaez
On Wed, Mar 07, 2018 at 11:11:25PM +0530, Pintu Kumar wrote: > Hi, > > I need some help on QEMU environment setup for ARM so that I am very > my custom Linux Kernel changes for arm. > I know there are lots of references available on internet. Earlier I > spend lots of time and finally I could

Submitted patch, what to do next

2018-03-07 Thread Alex Arvelaez
Hello, I sent a small patch to the LKML. I sent it to one of the mantainers (as per get_mantainers.pl) and I CC-ed linux-ker...@vger.kernel.org. I'm not entirely sure I did everything properly and I was wondering how long does it usually take to get any feedback? It's been a couple weeks since I

Re: Year 2038 time set problem

2018-03-05 Thread Alex Arvelaez
On Mar 5, 2018 6:30 AM, Bernd Petrovitsch <be...@petrovitsch.priv.at> wrote: > > On Mon, 2018-03-05 at 02:35 +, Alex Arvelaez wrote: > [...] > > Device makers don't love updating their devices, I don't see how you > > could fix that sadly. What's your solution? >

Re: Build error with O= option

2018-03-05 Thread Alex Arvelaez
On Mar 5, 2018 7:04 AM, Gioh Kim wrote: > > Hi, > > I am trying to use O= option when building kernel. > It failed with missing .config file error. > I checked out the message and found out it tried to read .config in > the output directory. > > It's strange because there is no

Re: Year 2038 time set problem

2018-03-04 Thread Alex Arvelaez
On Mar 4, 2018 10:15 PM, Ruben Safir <ru...@mrbrklyn.com> wrote: > > On 03/04/2018 09:35 PM, Alex Arvelaez wrote: > > If you don't need high availability, what's the problem with the occasional > > reboot? > > I have a life, and its a chore to reboot the 3 b

Re: Year 2038 time set problem

2018-03-04 Thread Alex Arvelaez
On Mar 4, 2018 9:21 PM, Ruben Safir wrote: > > On 03/04/2018 05:24 PM, valdis.kletni...@vt.edu wrote: > > If you can't afford the disruption of service a reboot causes, you *really* > > need to be deploying HA or load-balancer solutions. > > > > Because if you can't afford a

Re: Year 2038 time set problem

2018-03-04 Thread Alex Arvelaez
On Mar 4, 2018 3:21 PM, Ruben Safir wrote: > > On 03/04/2018 01:31 PM, valdis.kletni...@vt.edu wrote: > > Note that saying "The CPU isn't vulnerable to Meltdown/Spectre, therefor > > the 4.1 kernel is OK" is *incredibly* wrong. > > > > For the record, since 4.1 came out,

Re: Invalid module format

2018-02-23 Thread Alex Arvelaez
On Feb 24, 2018 12:07 AM, Srishti Sharma wrote: > > > > On Sat, Feb 24, 2018 at 4:59 AM, Tobin C. Harding wrote: >> >> On Thu, Feb 22, 2018 at 02:42:23AM +0530, Srishti Sharma wrote: >> > Hello, >> > >> > While trying to load a module from the linux-next

Re: I'd like to contribute but I don't know how...

2018-02-22 Thread Alex Arvelaez
On Thu, Feb 22, 2018 at 04:12:14AM +, Alex Arvelaez wrote: > On Wed, Feb 21, 2018 at 10:20:07PM -0500, valdis.kletni...@vt.edu wrote: > > On Thu, 22 Feb 2018 02:33:08 +0000, Alex Arvelaez said: > > > Hello, > > > > > > I'd like to contribute to the linu

Re: I'd like to contribute but I don't know how...

2018-02-21 Thread Alex Arvelaez
On Wed, Feb 21, 2018 at 10:20:07PM -0500, valdis.kletni...@vt.edu wrote: > On Thu, 22 Feb 2018 02:33:08 +0000, Alex Arvelaez said: > > Hello, > > > > I'd like to contribute to the linux kernel eventually but I'm not sure > > https://lists.kernelnewbies.org/piperma

I'd like to contribute but I don't know how...

2018-02-21 Thread Alex Arvelaez
Hello, I'd like to contribute to the linux kernel eventually but I'm not sure how, I grabbed a copy of the source code and I found a FIXME that looks like I could fix: /* File: /usr/src/linux/tools/perf/util/string.c * FIXME: replace this with an expression using log10() when we * find a