<div style="font-family: arial, helvetica, sans-serif"><font size="2">Hi,<br><br><div class="gmail_quote">On Fri, Jun 22, 2012 at 5:41 PM, Subash Patel <span dir="ltr"><<a href="mailto:subashrp@gmail.com" target="_blank">subashrp@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Subash Patel <<a href="mailto:subash.rp@samsung.com">subash.rp@samsung.com</a>><br>
<br>
exynos_pages_to_sg() internally calls sg_kmalloc() which can return<br>
no pages when the system is under high memory crunch. One such instance<br>
is chromeos-install in the chromeos. This patch adds check for the return<br>
value of the function in subject to return NULL on failure.<br>
<br>
BUG=chrome-os-partner:9481<br>
TEST=built, ran on snow and tried chromeos-install without a crash<br>
<br>
Change-Id: I0abda74beaedae002a17de9962d7a462a2a7c2fb<br>
Signed-off-by: Subash Patel <<a href="mailto:subash.rp@samsung.com">subash.rp@samsung.com</a>><br></blockquote><div><br></div><div>No BUG/TEST/Change-Id on a public patch, please. Also, I didn't see this posted on neither samsung-soc, nor the dri-devel list?</div>
<div><br></div><div><br></div><div>-Olof</div><div><br></div></div></font></div>