1461167084-4fa0ad2b-36f5-44ad-997b-a93c88eedaff

1. A method comprising:
executing a transactional memory (TM) transaction in a first thread;
determining if a write of data to be performed in the TM transaction is sized to fit within a hardware buffer;
if so, determining whether a copy of the data is present in the hardware buffer and if so updating the data in the hardware buffer using a user-level buffered store instruction to write the data, wherein the user-level buffered store instruction is to further indicate that the data is locally visible to the first thread but not globally visible; and
if the copy is not present in the hardware buffer, creating a buffered copy of the data at a location of the hardware buffer using the user-level buffered store instruction, and updating the data in the buffered copy using the user-level buffered store instruction.
2. The method of claim 1, further comprising storing an address of the location in a write log if the TM transaction is according to a commit time locking scheme, and storing the data at the location and acquiring a write monitor on the location to obtain ownership of the location at an encounter time in which the data is stored at the location if the TM transaction is according to an encounter time locking scheme.
3. The method of claim 2, further comprising acquiring a write monitor for the location at commitment and committing the TM transaction if no data in the location was lost when the TM transaction is according to the commit time locking scheme.
4. The method of claim 3, wherein if the copy is present in the hardware buffer, filtering a barrier operation and not acquiring a second write monitor to update a second location in the hardware buffer, including performing a user-level test instruction on the second location to determine whether the data is buffered.
5. The method of claim 1, further comprising if the TM transaction overflows the hardware buffer, aborting the TM transaction and providing control to an ejection handler to select a transaction execution mode in which to re-execute the TM transaction.

The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.

1. A rotating electric machine comprising:
an inner-circumferential-side shaft having a gear that is provided integrally therewith, the inner-circumferential-side shaft being monolithic;
an outer-circumferential-side shaft provided on the outer circumferential side of the inner-circumferential-side shaft;
a rotor secured to the outer-circumferential-side shaft, the inner-circumferential-side shaft being directly rotatably supported by a bearing that is provided between the gear and the rotor, an outer circumference of the inner-circumferential-side shaft and an inner circumference of the outer-circumferential-side shaft being spline-fitted to each other at a spline-fitted portion, the outer-circumferential-side shaft having a gap fitted portion that is provided on the inner circumference of the outer-circumferential-side shaft and that is fitted on the outer circumference of the inner-circumferential-side shaft with a first gap having a predetermined length provided between the gap fitted portion and the outer circumference of the inner-circumferential-side shaft, the first gap being smaller than a second gap provided at the spline-fitted portion between the inner-circumferential-side shaft and the outer-circumferential-side shaft; and
a stator facing an outer circumference of the rotor,
wherein the gap fitted portion includes
a first gap fitted portion provided on a first side of the spline-fitted portion in an axial direction of the inner-circumferential-side shaft, and
a second gap fitted portion provided on a second side of the spline-fitted portion in the axial direction, the second side being opposite to the first side with respect to the spline-fitted portion in the axial direction, and
wherein the first gap fitted portion and the second gap fitted portion are each provided on the inner circumference of the outer-circumferential-side shaft and directly face the outer circumference of the inner-circumferential-side shaft.
2. The rotating electric machine according to claim 1,
wherein the first gap fitted portion has a diameter larger than a diameter of the second gap fitted portion, and
wherein the outer circumference of the inner-circumferential-side shaft has splines provided at the spline-fitted portion and extending in the axial direction.
3. The rotating electric machine according to claim 1, wherein the spline-fitted portion is provided on an inner-circumferential side of the rotor.
4. The rotating electric machine according to claim 1,
wherein the first gap fitted portion is provided at a first end of the outer-circumferential-side shaft, and
wherein the second gap fitted portion is provided at a second end of the outer-circumferential-side shaft, the second end being opposite to the first side with respect to the outer-circumferential-side shaft.
5. The rotating electric machine according to claim 1,
wherein the inner-circumferential-side shaft includes a bearing-supported portion provided on the outer circumference of the inner-circumferential-side shaft and supported by the bearing, and
wherein one of the first gap fitted portion and the second gap fitted portion is provided between the bearing-supported portion and the spline-fitted portion in the axial direction of the inner-circumferential-side shaft.
6. The rotating electric machine according to claim 1,
wherein the first gap fitted portion on the outer-circumferential-side shaft directly faces the inner-circumferential-side shaft in a radial direction of the inner-circumferential-side shaft, and
wherein the second gap fitted portion on the outer-circumferential-side shaft directly faces the inner-circumferential-side shaft in the radial direction of the inner-circumferential-side.
7. A rotating electric machine comprising: an inner-circumferential-side shaft having a gear that is provided integrally therewith;
an outer-circumferential-side shaft provided on the outer circumferential side of the inner-circumferential-side shaft;
a ball bearing directly rotatably supporting the inner-circumferential-side shaft;
a rotor secured to the outer-circumferential-side shaft, the ball bearing being provided between the gear and the rotor, an outer circumference of the inner-circumferential-side shaft and an inner circumference of the outer-circumferential-side shaft being spline-fitted to each other at a spline-fitted portion, the outer-circumferential-side shaft having a gap fitted portion that is provided on the inner circumference of the outer-circumferential-side shaft and that is fitted on the outer circumference of the inner-circumferential-side shaft with a first gap having a predetermined length provided between the gap fitted portion and the outer circumference of the inner-circumferential-side shaft, the first gap being smaller than a second gap provided at the spline-fitted portion between the inner-circumferential-side shaft and the outer-circumferential-side shaft; and
a stator facing an outer circumference of the rotor,
wherein the gap fitted portion is provided on the inner circumference of the outer-circumferential-side shaft and directly faces the outer circumference of the inner-circumferential-side shaft.
8. The rotating electric machine according to claim 7, wherein the gap fitted portion includes
a first gap fitted portion provided on a first side of the spline-fitted portion in an axial direction of the inner-circumferential-side shaft, and
a second gap fitted portion provided on a second side of the spline-fitted portion in the axial direction, the second side being opposite to the first side with respect to the spline-fitted portion in the axial direction.
9. The rotating electric machine according to claim 8,
wherein the first gap fitted portion has a diameter larger than a diameter of the second gap fitted portion, and
wherein the outer circumference of the inner-circumferential-side shaft has splines provided at the spline-fitted portion and extending in the axial direction.
10. The rotating electric machine according to claim 8,
wherein the first gap fitted portion on the outer-circumferential-side shaft directly faces the inner-circumferential-side shaft in a radial direction of the inner-circumferential-side shaft, and
wherein the second gap fitted portion on the outer-circumferential-side shaft directly faces the inner-circumferential-side shaft in the radial direction of the inner-circumferential-side.
11. The rotating electric machine according to claim 7, wherein the spline-fitted portion is provided on an inner-circumferential side of the rotor.
12. The rotating electric machine according to claim 7, wherein the gap fitted portion includes
a first gap fitted portion provided at a first end of the outer-circumferential-side shaft, and
a second gap fitted portion provided at a second end of the outer-circumferential-side shaft, the second end being opposite to the first end with respect to the outer-circumferential-side shaft.
13. The rotating electric machine according to claim 7,
wherein the inner-circumferential-side shaft includes a bearing-supported portion provided on the outer circumference of the inner-circumferential-side shaft and supported by the ball bearing, and
wherein the gap fitted portion is provided between the bearing-supported portion and the spline-fitted portion in an axial direction of the inner-circumferential-side shaft.
14. The rotating electric machine according to claim 7,
wherein the inner-circumferential-side shaft is monolithic.
15. The rotating electric machine according to claim 7,
wherein the ball bearing supports the outer circumferential side of the inner-circumferential-side shaft.