Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1500654
| From | zijun_hu <zijun_hu@zoho.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC PATCH 1/1] mm/percpu.c: fix memory leakage issue when allocate a odd alignment area |
| Date | 2016-10-14 03:00 +0200 |
| Message-ID | <srZ0R-2qJ-5@gated-at.bofh.it> (permalink) |
| References | <sr5i1-7dD-9@gated-at.bofh.it> <srXLr-1KS-1@gated-at.bofh.it> <srYxQ-2gy-25@gated-at.bofh.it> <srYRb-2nn-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 2016/10/14 8:28, Tejun Heo wrote: > Hello, > > On Fri, Oct 14, 2016 at 08:23:06AM +0800, zijun_hu wrote: >> for the current code, only power of 2 alignment value can works well >> >> is it acceptable to performing a power of 2 checking and returning error code >> if fail? > > Yeah, just add is_power_of_2() test to the existing sanity check. > > Thanks. > okay. i will do that
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [RFC PATCH 1/1] mm/percpu.c: fix memory leakage issue when allocate a odd alignment area Tejun Heo <tj@kernel.org> - 2016-10-14 01:40 +0200
Re: [RFC PATCH 1/1] mm/percpu.c: fix memory leakage issue when allocate a odd alignment area zijun_hu <zijun_hu@zoho.com> - 2016-10-14 02:30 +0200
Re: [RFC PATCH 1/1] mm/percpu.c: fix memory leakage issue when allocate a odd alignment area Tejun Heo <tj@kernel.org> - 2016-10-14 02:50 +0200
Re: [RFC PATCH 1/1] mm/percpu.c: fix memory leakage issue when allocate a odd alignment area zijun_hu <zijun_hu@zoho.com> - 2016-10-14 03:00 +0200
csiph-web