[PATCH] clocksource/drivers/arc_timer: Utilize generic sched_clock

2018-10-16 Thread Alexey Brodkin
It turned out we used to use default implementation of sched_clock() from kernel/sched/clock.c which was as precise as 1/HZ, i.e. by default we had 10 msec granularity of time measurement. Now given ARC built-in timers are clocked with the same frequency as CPU cores we may get much higher precisi

Re: [PATCH 2/4] mm: speed up mremap by 500x on large regions (v2)

2018-10-16 Thread Vlastimil Babka
On 10/16/18 12:33 AM, Joel Fernandes wrote: > On Mon, Oct 15, 2018 at 02:42:09AM -0700, Christoph Hellwig wrote: >> On Fri, Oct 12, 2018 at 06:31:58PM -0700, Joel Fernandes (Google) wrote: >>> Android needs to mremap large regions of memory during memory management >>> related operations. >> >> Jus

Re: [PATCH] clocksource/drivers/arc_timer: Utilize generic sched_clock

2018-10-16 Thread Vineet Gupta
On 10/16/2018 12:45 AM, Alexey Brodkin wrote: > It turned out we used to use default implementation of sched_clock() > from kernel/sched/clock.c which was as precise as 1/HZ, i.e. > by default we had 10 msec granularity of time measurement. > > Now given ARC built-in timers are clocked with the sam

RE: [PATCH] clocksource/drivers/arc_timer: Utilize generic sched_clock

2018-10-16 Thread Alexey Brodkin
Hi Vineet, > -Original Message- > From: Vineet Gupta > Sent: Tuesday, October 16, 2018 7:03 PM > To: Alexey Brodkin ; linux-ker...@vger.kernel.org > Cc: linux-snps-arc@lists.infradead.org; Daniel Lezcano > ; Thomas Gleixner > Subject: Re: [PATCH] clocksource/drivers/arc_timer: Utilize ge

Re: [PATCH] ARC: IOC: panic if kernel was started with previously enabled IOC

2018-10-16 Thread Vineet Gupta
On 10/04/2018 06:12 AM, Eugeniy Paltsev wrote: > Disabling and reconfiguring of IOC are quite a tricky actions because > nobody knows what happens if there're IOC-ahndled tarnsactions in flight > when we're disabling IOC. > > And the problem is external DMA masters [that were initialized and set >

Re: [PATCH 2/4] mm: speed up mremap by 500x on large regions (v2)

2018-10-16 Thread Joel Fernandes
On Tue, Oct 16, 2018 at 01:29:52PM +0200, Vlastimil Babka wrote: > On 10/16/18 12:33 AM, Joel Fernandes wrote: > > On Mon, Oct 15, 2018 at 02:42:09AM -0700, Christoph Hellwig wrote: > >> On Fri, Oct 12, 2018 at 06:31:58PM -0700, Joel Fernandes (Google) wrote: > >>> Android needs to mremap large reg