Re: [PATCH V2] mm: Replace all open encodings for NUMA_NO_NODE

2018-12-03 Thread Doug Ledford
will appreciate suggestions, inputs and review. > > 1. git grep "nid == -1" > 2. git grep "node == -1" > 3. git grep "nid = -1" > 4. git grep "node = -1" > > drivers/infiniband/hw/hfi1/affinity.c | 3 ++- > drivers/infiniband

Re: [PATCH 00/14] Present useful limits to user (v2)

2016-07-18 Thread Doug Ledford
unds. Nothing could be further from the truth, and if we actually implemented something of that sort, programs susceptible to high resource usage during load spikes would suddenly start failing on a frequent basis. The proof that these limits are working is given by the fact that we rarely hear from users about their programs being killed for resource consumption, and yet we also don't hear from users about their systems going down due to runaway applications. From what I can tell from these patches, I would suspect complaints from one of those two issues to increase once these patches are in place and put in use, and that doesn't seem like a good thing. -- Doug Ledford GPG Key ID: 0E572FDD signature.asc Description: OpenPGP digital signature ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH 00/14] Present useful limits to user (v2)

2016-07-18 Thread Doug Ledford
urce_highwatermark() > calls just to get these metrics. > > Can't we teach the existing perf infrastructure to collect these > highwatermarks for us? I'm not sure about perf (I don't know the internals of perf well enough to comment), but I'm sure the systemtap infrastructure could do this, and a preconfigured systemtap script could be shipped with the package that would allow this. -- Doug Ledford GPG Key ID: 0E572FDD signature.asc Description: OpenPGP digital signature ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [RFC 12/18] limits: track RLIMIT_MEMLOCK actual max

2016-06-17 Thread Doug Ledford
a/mm/mremap.c b/mm/mremap.c > index 1f157ad..ade3e13 100644 > --- a/mm/mremap.c > +++ b/mm/mremap.c > @@ -394,6 +394,9 @@ static struct vm_area_struct *vma_to_resize(unsigned long > addr, > *p = charged; > } > > + if (vma->vm_flags & V