Re: [PATCH 5/6 v3] syscalls: Remove start and number from syscall_get_arguments() args

2019-04-03 Thread Paul Burton
Hi Steven, On Mon, Apr 01, 2019 at 09:41:09AM -0400, Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" > > At Linux Plumbers, Andy Lutomirski approached me and pointed out that the > function call syscall_get_arguments() implemented in x86 was horribly > written and not optimized for the

Re: [PATCH] ARC: fix memory nodes topology in case of highmem enabled

2019-04-03 Thread Vineet Gupta
On 4/1/19 11:43 AM, Eugeniy Paltsev wrote: > Tweak generic node topology in case of CONFIG_HIGHMEM enabled to > prioritize allocations from ZONE_HIGHMEM to avoid ZONE_NORMAL > pressure. Can you explain the "pressure" part a bit more concretely - as in when did you saw crashes, oom, yadi yada

[PATCH] Update longlong.h

2019-04-03 Thread Vineet Gupta
To propagate a fix for gcc bug 88409 [1] in ARC specific code [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89877 Signed-off-by: Vineet Gupta --- ChangeLog | 4 stdlib/longlong.h | 6 -- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog

Re: [PATCH] [ARC] PR 88409: miscompilation due to missing cc clobber in longlong.h macros

2019-04-03 Thread Vineet Gupta
On 4/3/19 2:53 AM, Claudiu Zissulescu wrote: > Pushed, thank you for your contribution, > Claudiu Thx, can this be backported to gcc-8-stable please which is what glibc folks use for testing ! -Vineet > > On Tue, Apr 2, 2019 at 9:27 PM Vineet Gupta > wrote: >> simple test such as below was

Re: [PATCH] ARC: [hsdk] Make it easier to add PAE40 region to DTB

2019-04-03 Thread Vineet Gupta
On 4/3/19 9:34 AM, Eugeniy Paltsev wrote: >> -reg = <0x8000 0x4000>; /* 1 GiB */ >> +reg = <0x0 0x8000 0x0 0x4000>; /* 1 GB lowmem */ >> +/* 0x1 0x 0x0 0x4000>; 1 GB highmem */ > Could you please get rid of comment with

Re: [PATCH] ARC: [hsdk] Make it easier to add PAE40 region to DTB

2019-04-03 Thread Eugeniy Paltsev
Hi Vineet, On Tue, 2019-04-02 at 12:18 -0700, Vineet Gupta wrote: > 1. Bump top level address-cells/size-cells nodes to 2 (to ensure all >down stream addresses are 64-bits, unless explicitly specified >otherwise (in "soc" bus with all peripherals) > > 2. "memory" also specified with

[PATCH v8 01/20] arc: mm: Add p?d_large() definitions

2019-04-03 Thread Steven Price
walk_page_range() is going to be allowed to walk page tables other than those of user space. For this it needs to know when it has reached a 'leaf' entry in the page tables. This information will be provided by the p?d_large() functions/macros. For arc, we only have two levels, so only

Re: [PATCH v3 5/5] Lib: sort.h: remove the size argument from the swap function

2019-04-03 Thread Andy Shevchenko
On Tue, Apr 02, 2019 at 11:55:25PM +0300, Andrey Abramov wrote: > Removes size argument from the swap function because: > 1) It wasn't used. > 2) Custom swap function knows what kind of objects it swaps, > so it already knows their sizes. > > Signed-off-by: Andrey

Re: [PATCH] [ARC] PR 88409: miscompilation due to missing cc clobber in longlong.h macros

2019-04-03 Thread Claudiu Zissulescu
Pushed, thank you for your contribution, Claudiu On Tue, Apr 2, 2019 at 9:27 PM Vineet Gupta wrote: > > simple test such as below was failing. > > | void main(int argc, char *argv[]) > | { > |size_t total_time = 115424; // expected 115.424 > |double secs =