[ltt-dev] LTTng 0.161 for kernel 2.6.30.9 (bugfix release)

Gregory Haskins gregory.haskins at gmail.com
Wed Oct 14 15:46:03 EDT 2009


Mathieu Desnoyers wrote:
> Hi,
> 
> I released lttng 0.161 today. It fixes a problem with the immediate
> values breakpoint handler when kprobes is disabled. This problem
> probably crept in when I ported the patchset from 2.6.29 to 2.6.30.
> 
> Mathieu
> 

Hi Mathieu,

I get the following error trying to apply 0.161 on 30.9

Importing patch "lttng-instrumentation-hugetlb.patch" ...
error: patch failed: mm/hugetlb.c:2332
error: mm/hugetlb.c: patch does not apply
  Warning: Diff written to the .stgit-failed.patch file
  stg import: git failed with code 1


Here is the reject:

@@ -2332,14 +2357,18 @@ int hugetlb_reserve_pages(struct inode *
 	 */
 	if (!vma || vma->vm_flags & VM_MAYSHARE)
 		region_add(&inode->i_mapping->private_list, from, to);
-	return 0;
+end:
+	trace_hugetlb_pages_reserve(inode, from, to, ret);
+	return ret;
 }

 void hugetlb_unreserve_pages(struct inode *inode, long offset, long freed)
 {
 	struct hstate *h = hstate_inode(inode);
-	long chg = region_truncate(&inode->i_mapping->private_list, offset);
+	long chg;

+	trace_hugetlb_pages_unreserve(inode, offset, freed);
+	chg = region_truncate(&inode->i_mapping->private_list, offset);
 	spin_lock(&inode->i_lock);
 	inode->i_blocks -= blocks_per_huge_page(h);
 	spin_unlock(&inode->i_lock);


I suspect you may have a refresh error again ;)

On a different topic: Any word on a 2.6.31 port?

Kind Regards,
-Greg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20091014/118885fd/attachment-0003.pgp>


More information about the lttng-dev mailing list