linux-um.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [uml-devel] [PATCH] Missing includes in start up
@ 2015-11-08 14:58 Anton Ivanov
  2015-11-08 15:18 ` Anton Ivanov
  0 siblings, 1 reply; 4+ messages in thread
From: Anton Ivanov @ 2015-11-08 14:58 UTC (permalink / raw)
  To: user-mode-linux-devel; +Cc: Anton Ivanov

Modifying RLIMIT requires including sys/time.h and sys/resource.h

Signed-off-by: Anton Ivanov <aivanov@brocade.com>
---
 arch/um/os-Linux/start_up.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/um/os-Linux/start_up.c b/arch/um/os-Linux/start_up.c
index 425162e..c1811df 100644
--- a/arch/um/os-Linux/start_up.c
+++ b/arch/um/os-Linux/start_up.c
@@ -16,6 +16,8 @@
 #include <sys/stat.h>
 #include <sys/wait.h>
 #include <asm/unistd.h>
+#include <sys/time.h>
+#include <sys/resource.h>
 #include "init.h"
 #include "os.h"
 #include "mem_user.h"
-- 
2.1.4


------------------------------------------------------------------------------
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [uml-devel] [PATCH] Missing includes in start up
  2015-11-08 14:58 [uml-devel] [PATCH] Missing includes in start up Anton Ivanov
@ 2015-11-08 15:18 ` Anton Ivanov
  2015-11-08 22:38   ` Richard Weinberger
  0 siblings, 1 reply; 4+ messages in thread
From: Anton Ivanov @ 2015-11-08 15:18 UTC (permalink / raw)
  To: user-mode-linux-devel@lists.sourceforge.net

Hi Richard,

This is vs your tree, 4.x master branch in linus repo actually has 
sys/resource.h

Pls ignore the patch.

A.

On 08/11/15 14:58, Anton Ivanov wrote:
> Modifying RLIMIT requires including sys/time.h and sys/resource.h
>
> Signed-off-by: Anton Ivanov <aivanov@brocade.com>
> ---
>   arch/um/os-Linux/start_up.c | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/arch/um/os-Linux/start_up.c b/arch/um/os-Linux/start_up.c
> index 425162e..c1811df 100644
> --- a/arch/um/os-Linux/start_up.c
> +++ b/arch/um/os-Linux/start_up.c
> @@ -16,6 +16,8 @@
>   #include <sys/stat.h>
>   #include <sys/wait.h>
>   #include <asm/unistd.h>
> +#include <sys/time.h>
> +#include <sys/resource.h>
>   #include "init.h"
>   #include "os.h"
>   #include "mem_user.h"

------------------------------------------------------------------------------
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [uml-devel] [PATCH] Missing includes in start up
  2015-11-08 15:18 ` Anton Ivanov
@ 2015-11-08 22:38   ` Richard Weinberger
  2015-11-08 22:43     ` Anton Ivanov
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Weinberger @ 2015-11-08 22:38 UTC (permalink / raw)
  To: Anton Ivanov; +Cc: user-mode-linux-devel@lists.sourceforge.net

On Sun, Nov 8, 2015 at 4:18 PM, Anton Ivanov <aivanov@brocade.com> wrote:
> Hi Richard,
>
> This is vs your tree, 4.x master branch in linus repo actually has
> sys/resource.h
>
> Pls ignore the patch.

Sorry for the trouble!
I forgot to mention that linux-next is the only valid branch in my tree.
As UML does not have much patch flood I test them locally and push them directly
to linux-next.

-- 
Thanks,
//richard

------------------------------------------------------------------------------
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [uml-devel] [PATCH] Missing includes in start up
  2015-11-08 22:38   ` Richard Weinberger
@ 2015-11-08 22:43     ` Anton Ivanov
  0 siblings, 0 replies; 4+ messages in thread
From: Anton Ivanov @ 2015-11-08 22:43 UTC (permalink / raw)
  To: user-mode-linux-devel@lists.sourceforge.net

No worries.

A completely rewritten IRQ controller patch is coming in ~ 15 minutes  
or so. 20% gain across the board for a basic config, up to 100s% gain if 
you register large numbers of devices (in the tens).

Just finishing to run it through its paces :)

It is also a pre-requisite to do multipacket reads/multipacket writes 
which will be next.

A.


On 08/11/15 22:38, Richard Weinberger wrote:
> On Sun, Nov 8, 2015 at 4:18 PM, Anton Ivanov <aivanov@brocade.com> wrote:
>> Hi Richard,
>>
>> This is vs your tree, 4.x master branch in linus repo actually has
>> sys/resource.h
>>
>> Pls ignore the patch.
> Sorry for the trouble!
> I forgot to mention that linux-next is the only valid branch in my tree.
> As UML does not have much patch flood I test them locally and push them directly
> to linux-next.
>

------------------------------------------------------------------------------
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-11-08 22:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-08 14:58 [uml-devel] [PATCH] Missing includes in start up Anton Ivanov
2015-11-08 15:18 ` Anton Ivanov
2015-11-08 22:38   ` Richard Weinberger
2015-11-08 22:43     ` Anton Ivanov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).