kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* gfp_flag
@ 2015-09-14  3:33 Ronit Halder
  2015-09-14  4:21 ` gfp_flag Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Ronit Halder @ 2015-09-14  3:33 UTC (permalink / raw)
  To: kernelnewbies

In  drivers/staging/android/ion/ion.c in line 1475 and 1493 gfp_flag
is set to -1

what are these lines doing?

regards,
Ronit

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

* gfp_flag
  2015-09-14  3:33 gfp_flag Ronit Halder
@ 2015-09-14  4:21 ` Greg KH
  2015-09-14  6:09   ` gfp_flag Valdis.Kletnieks at vt.edu
  2015-09-14  6:17   ` gfp_flag Ronit Halder
  0 siblings, 2 replies; 4+ messages in thread
From: Greg KH @ 2015-09-14  4:21 UTC (permalink / raw)
  To: kernelnewbies

On Mon, Sep 14, 2015 at 09:03:53AM +0530, Ronit Halder wrote:
> In  drivers/staging/android/ion/ion.c in line 1475 and 1493 gfp_flag
> is set to -1

No, that's not what the code does, please read it again.

greg k-h

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

* gfp_flag
  2015-09-14  4:21 ` gfp_flag Greg KH
@ 2015-09-14  6:09   ` Valdis.Kletnieks at vt.edu
  2015-09-14  6:17   ` gfp_flag Ronit Halder
  1 sibling, 0 replies; 4+ messages in thread
From: Valdis.Kletnieks at vt.edu @ 2015-09-14  6:09 UTC (permalink / raw)
  To: kernelnewbies

On Sun, 13 Sep 2015 21:21:35 -0700, Greg KH said:
> On Mon, Sep 14, 2015 at 09:03:53AM +0530, Ronit Halder wrote:
> > In  drivers/staging/android/ion/ion.c in line 1475 and 1493 gfp_flag
> > is set to -1
>
> No, that's not what the code does, please read it again.

My guess is it's making some other routine work a lot harder in order
to cover all possibilities, no matter how unusual :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150914/63c23ab3/attachment.bin 

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

* gfp_flag
  2015-09-14  4:21 ` gfp_flag Greg KH
  2015-09-14  6:09   ` gfp_flag Valdis.Kletnieks at vt.edu
@ 2015-09-14  6:17   ` Ronit Halder
  1 sibling, 0 replies; 4+ messages in thread
From: Ronit Halder @ 2015-09-14  6:17 UTC (permalink / raw)
  To: kernelnewbies

Sorry, it is gfp_mask not gfp_flag.
On Sep 14, 2015 9:51 AM, "Greg KH" <gregkh@linuxfoundation.org> wrote:

> On Mon, Sep 14, 2015 at 09:03:53AM +0530, Ronit Halder wrote:
> > In  drivers/staging/android/ion/ion.c in line 1475 and 1493 gfp_flag
> > is set to -1
>
> No, that's not what the code does, please read it again.
>
> greg k-h
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150914/8bc190af/attachment-0001.html 

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

end of thread, other threads:[~2015-09-14  6:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-14  3:33 gfp_flag Ronit Halder
2015-09-14  4:21 ` gfp_flag Greg KH
2015-09-14  6:09   ` gfp_flag Valdis.Kletnieks at vt.edu
2015-09-14  6:17   ` gfp_flag Ronit Halder

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).